mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
Update systemd.service
This commit is contained in:
parent
13834c0102
commit
e6027436be
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,9 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__FINALPATH__/
|
||||
ExecStartPre=+/bin/bash -c 'chown -R __APP__:__APP__ /etc/__APP__/'
|
||||
ExecStartPre=+/bin/bash -c 'chmod 600 /etc/__APP__/config.toml'
|
||||
ExecStartPre=+/bin/bash -c 'chmod 600 /etc/__APP__/config.d/server.toml.head'
|
||||
ExecStartPre=-+/bin/bash -c 'chown -R __APP__:__APP__ /etc/__APP__/'
|
||||
ExecStartPre=-+/bin/bash -c 'chmod 600 /etc/__APP__/config.toml'
|
||||
ExecStartPre=-+/bin/bash -c 'chmod 600 /etc/__APP__/config.d/server.toml.head'
|
||||
ExecStartPre=-/bin/bash -c 'cp /etc/__APP__/config.d/server.toml.head /etc/__APP__/config.toml'
|
||||
ExecStartPre=-/bin/bash -c 'cat /etc/__APP__/config.d/*.toml >> /etc/__APP__/config.toml'
|
||||
ExecStart=__FINALPATH__/live/__APP__ /etc/__APP__/config.toml
|
||||
|
|
Loading…
Reference in a new issue