mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
2875a93925
as service name is different for stretch and buster
24 lines
483 B
Desktop File
24 lines
483 B
Desktop File
[Unit]
|
|
Description=Wekan, task board
|
|
Wants=mongodb.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
EnvironmentFile=__FINALPATH__/.env
|
|
WorkingDirectory=__FINALPATH__
|
|
ExecStart=__NODEJS_PATH__/node __FINALPATH__/main.js
|
|
Restart=on-failure
|
|
#StartLimitInterval=86400
|
|
#StartLimitBurst=5
|
|
RestartSec=10
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
RestartSec=10
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=__APP__
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|