please add a native systemd unit file
I see that /etc/init.d/shellinabox is really complex.
Here is the service provided by Arch that can be used as
a starting point.
This should go in /lib/systemd/system/shellinabox.service
or in /etc/systemd/system/shellinabox.service during tests.
#######
[Unit]
Description=Serve a login-terminal over http on port 4200.
Required=sshd.service
After=sshd.service
[Service]
User=root
Type=forking
EnvironmentFile=/etc/conf.d/shellinaboxd
ExecStart=/usr/bin/shellinaboxd $SHELLINABOXD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-abort
[Install]
WantedBy=multi-user.target
Original issue reported on code.google.com by alexandr...@gmail.com on 4 Sep 2014 at 8:28
Original issue reported on code.google.com by
alexandr...@gmail.com
on 4 Sep 2014 at 8:28