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

23 lines
466 B
SYSTEMD
Raw Normal View History

2017-08-11 13:14:20 +02:00
[Unit]
2021-11-25 13:08:18 +01:00
Description=Turtl Server: Note taking service
2021-11-25 10:25:37 +01:00
Documentation=https://turtlapp.com/
2021-11-25 14:36:29 +01:00
After=network.target postgresql.service
2021-11-25 13:08:18 +01:00
2017-08-11 13:14:20 +02:00
[Service]
Type=simple
2021-11-25 10:08:00 +01:00
User=__APP__
Group=__APP__
2023-12-09 20:44:45 +01:00
WorkingDirectory=__INSTALL_DIR__/
2022-02-22 00:35:52 +01:00
Environment="PATH=__PATH__"
2023-12-09 20:44:45 +01:00
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server.js
2021-11-25 13:08:18 +01:00
StandardOutput=syslog
StandardError=syslog
2021-11-25 13:18:53 +01:00
SyslogIdentifier=__APP__
2021-11-25 13:08:18 +01:00
Restart=always
RestartSec=10
StartLimitInterval=900
StartLimitBurst=3
2017-08-11 13:14:20 +02:00
[Install]
WantedBy=multi-user.target