mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Use default options in yunohost-api systemd service too
This commit is contained in:
parent
7435ba7cee
commit
71a21d71d2
1 changed files with 3 additions and 1 deletions
4
debian/yunohost-api.service
vendored
4
debian/yunohost-api.service
vendored
|
@ -4,7 +4,9 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/yunohost-api
|
Environment=DAEMON_OPTS=
|
||||||
|
EnvironmentFile=-/etc/default/yunohost-api
|
||||||
|
ExecStart=/usr/bin/yunohost-api $DAEMON_OPTS
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue