Add ability to daemonize sstpd
deba12 opened this issue · 2 comments
deba12 commented
it will be very useful if you add knob for daemonize the daemon :)
using screen is some how quirky
sorz commented
You may use systemd or supervisor.
I prefer systemd, just create a sstpd.service
file located in /etc/systemd/system
[Unit]
Description=SSTP server daemon.
[Service]
Type=simple
ExecStart=/usr/local/bin/sstpd -c ...
then,
# systemctl enable sstpd
# systemctl start sstpd
and view the log
$ journalctl -u sstpd
deba12 commented
I will try it
thanks