diff --git a/bin/wetty.service b/bin/wetty.service new file mode 100644 index 0000000..dd79a27 --- /dev/null +++ b/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