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_api-gateway.service

20 lines
440 B
SYSTEMD
Raw Normal View History

2021-07-04 21:32:13 +02:00
[Unit]
Description=StandardNotes api-gateway
After=network.target
After=__APP__-syncing-server-js.service
After=__APP__-auth.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/live/api-gateway
2021-07-04 22:46:56 +02:00
EnvironmentFile=__FINALPATH__/live/api-gateway/.env
2021-07-04 21:32:13 +02:00
ExecStart=/usr/bin/yarn start
StandardOutput=append:/var/log/__APP__/api-gateway.log
StandardError=inherit
Restart=always
[Install]
WantedBy=default.target