mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
Improving service
This commit is contained in:
parent
9204bdcfde
commit
22d591c804
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
|
ExecStartPre=-/bin/bash -c 'chown __APP__:__APP__ /etc/__APP__/'
|
||||||
ExecStartPre=-/bin/bash -c 'cat /etc/__APP__/config.d/*.toml > /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
|
ExecStart=__FINALPATH__/live/__APP__ /etc/__APP__/config.toml
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||||
|
|
Loading…
Add table
Reference in a new issue