1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

systemd.service configured

This commit is contained in:
emy 2022-03-13 05:11:25 +01:00
parent 9c5153055e
commit 31768c7023

View file

@ -1,13 +1,15 @@
[Unit]
Description=Small description of the service
After=network.target
Description=GoToSocial Server
After=network.target postgresql.service nginx.service
[Service]
Type=simple
Type=exec
Restart=on-failure
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script
WorkingDirectory=__FINALPATH__/__APP__
ExecStart=__FINALPATH__/__APP__/ --config-path config.yaml server start
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit