1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00
haste_ynh/conf/systemd.service

18 lines
356 B
SYSTEMD
Raw Normal View History

2016-10-25 00:00:01 +02:00
[Unit]
2016-10-26 23:35:42 +02:00
Description=Haste is an open-source pastebin software
2016-10-25 00:00:01 +02:00
After=syslog.target
After=network.target
[Service]
Type=simple
2017-09-26 22:01:25 +02:00
User=__APP__
Group=__APP__
ExecStartPre=__NODEJS__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
ExecStart=/opt/node_n/n/versions/node/__VERSION__/bin/npm start
2016-10-25 00:00:01 +02:00
Restart=always
[Install]
WantedBy=multi-user.target