Dradis: bind all interfaces
Revision as of 08:44, 15 May 2018 by Onnowpurbo (talk | contribs)
Untuk bind all interface ke Dradis
cd /lib/systemd/system
vi /lib/systemd/system/dradis.service
Edit dradis.service
[Unit] Description=Dradis web application [Install] WantedBy=multi-user.target [Service] WorkingDirectory=/usr/lib/dradis ExecStartPre=/bin/sh -c 'test -e /var/lib/dradis/secretkey || (umask 077; echo " SECRET_KEY_BASE=$(pwgen -1 -s -n 100)" >/var/lib/dradis/secretkey)' ExecStart=/usr/bin/bundle exec rails server webrick Type=simple User=dradis Group=dradis Environment=RAILS_ENV=development EnvironmentFile=-/var/lib/dradis/secretkey
Pastikan
ExecStart=/usr/bin/bundle exec rails server -b 0.0.0.0 webrick