2017-10-02 02:07:41 +02:00
|
|
|
[Unit]
|
2023-03-23 09:04:14 +01:00
|
|
|
Description=Wekan: task board
|
2020-03-23 13:52:04 +01:00
|
|
|
Wants=__MONGODB_SERVICENAME__.service
|
|
|
|
After=network.target __MONGODB_SERVICENAME__.service
|
2017-10-02 02:07:41 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2023-03-23 08:54:45 +01:00
|
|
|
EnvironmentFile=__INSTALL_DIR__/.env
|
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
|
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/main.js
|
2017-10-02 02:07:41 +02:00
|
|
|
Restart=on-failure
|
2023-03-23 23:08:26 +01:00
|
|
|
SuccessExitStatus=143
|
|
|
|
#RestartSec=10
|
|
|
|
#ExecReload=/bin/kill -USR1 $MAINPID
|
2017-10-02 02:07:41 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|