Browse Source

Add systemd unit file

pull/67/head
Andreas Kloeckner 9 years ago
committed by Krishna Srinivas
parent
commit
aa882adceb
  1. 19
      bin/wetty.service

19
bin/wetty.service

@ -0,0 +1,19 @@
# systemd unit file
#
# place in /etc/systemd/system
# systemctl enable wetty.service
# systemctl start wetty.service
[Unit]
Description=Wetty Web Terminal
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/home/akadmin/pack/wetty # CHANGE ME
ExecStart=/usr/bin/node app.js -p 9123 --host 127.0.0.1
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save