1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00
snserver_ynh/conf/systemd_syncing-server-js.service
2021-07-05 19:12:50 +02:00

19 lines
434 B
Desktop File

[Unit]
Description=StandardNotes syncing server
After=network.target
After=mysql.service
After=redis.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/live/syncing-server-js
EnvironmentFile=__FINALPATH__/live/syncing-server-js/.env
ExecStart=/usr/bin/yarn start
StandardOutput=append:/var/log/__APP__/syncing-server-js.log
StandardError=inherit
Restart=always
[Install]
WantedBy=default.target