systemd service

/usr/lib/systemd/system/shellinabox.service
systemctl daemon-reload
systemctl enable shellinabox
This commit is contained in:
Simon Rieger 2016-12-15 15:54:36 +01:00 committed by GitHub
parent aad308e7ae
commit 08e81d5ff2

9
shellinabox.service Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=shellinabox
[Service]
Type=oneshot
ExecStart=/opt/shellinabox/shellinaboxd --cert=/tmp/ --service=/:webssh:webssh:HOME:'/home/webssh/shellinabox_sshwrapper.sh'
[Install]
WantedBy=multi-user.target