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:
parent
1965787498
commit
06347c5af8
1 changed files with 6 additions and 5 deletions
|
@ -5,12 +5,13 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=haste
|
User=__APP__
|
||||||
Group=haste
|
Group=__APP__
|
||||||
WorkingDirectory=/opt/haste
|
ExecStartPre=__NODEJS__
|
||||||
ExecStart=/usr/bin/npm start
|
WorkingDirectory=__FINALPATH__
|
||||||
|
Environment="PATH=__ENV_PATH__"
|
||||||
|
ExecStart=/opt/node_n/n/versions/node/__VERSION__/bin/npm start
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment=USER=haste HOME=/opt/haste
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue