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]
|
||||
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
|
Loading…
Add table
Reference in a new issue