mirror of
https://github.com/YunoHost-Apps/lxd_ynh.git
synced 2024-09-03 19:45:53 +02:00
add User= and Group= to the systemd service
This commit is contained in:
parent
2918bde519
commit
529dbee3c4
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ Environment=LXD_OVMF_PATH=/usr/share/ovmf/x64
|
|||
ExecStart=/usr/local/bin/__APP__ --group=__APP__ --logfile=/var/log/__APP__/__APP__.log
|
||||
ExecStartPost=/usr/local/bin/__APP__ waitready --timeout=600
|
||||
ExecStop=/usr/local/bin/__APP__ shutdown
|
||||
User=root
|
||||
Group=root
|
||||
TimeoutStartSec=600s
|
||||
TimeoutStopSec=30s
|
||||
Restart=on-failure
|
||||
|
|
Loading…
Reference in a new issue