use service Type=notify

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-04-25 08:38:26 +00:00
parent 9c351a36c4
commit d98c9a7a38
6 changed files with 16 additions and 2 deletions

View File

@ -5,8 +5,9 @@ After=network.target
Requires=proxmox-backup.service
[Service]
Type=simple
Type=notify
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-proxy
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
User=%PROXY_USER%
Group=%PROXY_USER%

View File

@ -4,8 +4,9 @@ Wants=network-online.target
After=network.target
[Service]
Type=simple
Type=notify
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-api
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]