1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00
distbin_ynh/conf/systemd.service
2019-02-09 00:19:33 +01:00

14 lines
281 B
Desktop File

[Unit]
Description=Distbin Service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
EnvironmentFile=__FINALPATH__/.env
WorkingDirectory=__FINALPATH__/
ExecStart=/bin/sh -c 'npm start >> /var/log/__APP__/__APP__.log 2>&1'
[Install]
WantedBy=multi-user.target