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

16 lines
313 B
SYSTEMD
Raw Normal View History

2017-08-11 13:14:20 +02:00
[Unit]
Description=Note taking service
2021-11-25 10:25:37 +01:00
Documentation=https://turtlapp.com/
After=network.target
2017-08-11 13:14:20 +02:00
[Service]
Type=simple
2021-11-25 10:08:00 +01:00
User=__APP__
Group=__APP__
2021-11-25 12:11:24 +01:00
WorkingDirectory=__FINALPATH__/
2021-11-25 10:21:05 +01:00
Environment="PATH=__ENV_PATH__"
2021-11-25 10:25:37 +01:00
ExecStart=__YNH_NODE__ __FINALPATH__/server.js
2017-08-11 13:14:20 +02:00
Restart=on-failure
[Install]
WantedBy=multi-user.target