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]
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue