1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00
wekan_ynh/conf/systemd.service

25 lines
524 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Wekan, task board
2020-03-23 13:52:04 +01:00
Wants=__MONGODB_SERVICENAME__.service
After=network.target __MONGODB_SERVICENAME__.service
[Service]
Type=simple
User=__APP__
Group=__APP__
EnvironmentFile=__FINALPATH__/.env
2021-04-08 20:49:54 +02:00
WorkingDirectory=__FINALPATH__/
2020-06-15 03:40:49 +02:00
ExecStart=__YNH_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