convert wetty from submodule to normal directory
This commit is contained in:
21
wetty/conf/wetty.service
Normal file
21
wetty/conf/wetty.service
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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]
|
||||
Type=simple
|
||||
WorkingDirectory=$HOME/.config/yarn/global/node_modules/wetty/
|
||||
ExecStart=/usr/bin/node . -p 3000 --host 127.0.0.1
|
||||
TimeoutStopSec=20
|
||||
KillMode=mixed
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user