mirror of
https://github.com/YunoHost-Apps/ethercalc_ynh.git
synced 2024-09-03 18:26:36 +02:00
18 lines
435 B
Desktop File
18 lines
435 B
Desktop File
[Unit]
|
|
Description=Ethercalc, the collaborative spreadsheet editor.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__
|
|
Environment="PATH=__ENV_PATH__"
|
|
Environment="NODE_ENV=production"
|
|
ExecStart=__FINALPATH__/bin/ethercalc --host 127.0.0.1 --port __PORT__ --expire __EXPIRE__ --polling
|
|
#--basepath /path/prefix
|
|
RuntimeMaxSec=86400
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|