1
0
Fork 0
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:
ericgaspar 2021-06-01 17:28:30 +02:00
parent 3160fddaae
commit 6f45cdf1ab
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -9,12 +9,9 @@ Group=__APP__
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__" Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
ExecStart=__FINALPATH__/bin/ethercalc --port __PORT__ --expire __EXPIRE__ ExecStart=__FINALPATH__/bin/ethercalc --host 127.0.0.1 --port __PORT__ --expire __EXPIRE__ --polling --basepath /path/prefix
RuntimeMaxSec=86400 RuntimeMaxSec=86400
Restart=always Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
#--host 127.0.0.1 --polling --basepath /path/prefix