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

[Fix] Haste.service

This commit is contained in:
frju365 2017-09-26 22:01:25 +02:00 committed by GitHub
parent 1965787498
commit 06347c5af8

View file

@ -5,12 +5,13 @@ After=network.target
[Service]
Type=simple
User=haste
Group=haste
WorkingDirectory=/opt/haste
ExecStart=/usr/bin/npm start
User=__APP__
Group=__APP__
ExecStartPre=__NODEJS__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
ExecStart=/opt/node_n/n/versions/node/__VERSION__/bin/npm start
Restart=always
Environment=USER=haste HOME=/opt/haste
[Install]
WantedBy=multi-user.target