mirror of
https://github.com/YunoHost-Apps/turtl_ynh.git
synced 2024-09-03 20:26:35 +02:00
22 lines
462 B
Desktop File
22 lines
462 B
Desktop File
[Unit]
|
|
Description=Turtl Server: Note taking service
|
|
Documentation=https://turtlapp.com/
|
|
After=network.target postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__/
|
|
Environment="PATH=__PATH__"
|
|
ExecStart=__YNH_NODE__ __FINALPATH__/server.js
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=__APP__
|
|
Restart=always
|
|
RestartSec=10
|
|
StartLimitInterval=900
|
|
StartLimitBurst=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|