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:
parent
9c5153055e
commit
31768c7023
1 changed files with 7 additions and 5 deletions
|
@ -1,13 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Small description of the service
|
Description=GoToSocial Server
|
||||||
After=network.target
|
After=network.target postgresql.service nginx.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=exec
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/__APP__
|
||||||
ExecStart=__FINALPATH__/script
|
ExecStart=__FINALPATH__/__APP__/ --config-path config.yaml server start
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue