1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wetty_ynh.git synced 2024-09-03 18:16:29 +02:00
wetty_ynh/conf/systemd.service

22 lines
393 B
SYSTEMD
Raw Normal View History

2017-09-05 17:47:31 +02:00
[Unit]
Description=Wetty Web Terminal
2017-09-05 17:47:31 +02:00
After=network.target
[Service]
Type=simple
2021-05-12 00:42:40 +02:00
Environment=NODE_ENV=production
2017-09-05 17:47:31 +02:00
User=__APP__
Group=__APP__
2021-05-18 23:12:45 +02:00
WorkingDirectory=__FINALPATH__/
ExecStart=__YNH_NODE__ . --conf ./config.json5
TimeoutStopSec=20
KillMode=mixed
Restart=always
RestartSec=2
2017-09-05 17:47:31 +02:00
2021-05-12 00:42:40 +02:00
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
2017-09-05 17:47:31 +02:00
[Install]
WantedBy=multi-user.target