mirror of
https://github.com/YunoHost-Apps/ethercalc_ynh.git
synced 2024-09-03 18:26:36 +02:00
Update systemd.service
This commit is contained in:
parent
c7c1702b79
commit
bcfc404b8e
1 changed files with 3 additions and 3 deletions
|
@ -6,10 +6,10 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
Environment="NODE_ENV=production"
|
|
||||||
Environment="__YNH_NODE_LOAD_PATH__"
|
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
ExecStart=/ethercalc --port __PORT__ --expire __EXPIRE__
|
Environment="PATH=__ENV_PATH__"
|
||||||
|
Environment="NODE_ENV=production"
|
||||||
|
ExecStart=__FINALPATH__/ethercalc --port __PORT__ --expire __EXPIRE__
|
||||||
RuntimeMaxSec=86400
|
RuntimeMaxSec=86400
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue