use libexecdir for service binaries
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -12,7 +12,7 @@ clean:
|
||||
.SUFFIXES: .service.in .service
|
||||
.service.in.service:
|
||||
sed \
|
||||
-e 's!%LIBDIR%!$(LIBDIR)!g' \
|
||||
-e 's!%LIBEXECDIR%!$(LIBEXECDIR)!g' \
|
||||
-e 's!%PROXY_USER%!$(PROXY_USER)!g' \
|
||||
$< >$@.tmp
|
||||
mv $@.tmp $@
|
||||
|
@ -6,7 +6,7 @@ Requires=proxmox-backup.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%LIBDIR%/proxmox-backup/proxmox-backup-proxy
|
||||
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-proxy
|
||||
Restart=on-failure
|
||||
User=%PROXY_USER%
|
||||
Group=%PROXY_USER%
|
||||
|
@ -5,7 +5,7 @@ After=network.target syslog.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%LIBDIR%/proxmox-backup/proxmox-backup-api
|
||||
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-api
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
Reference in New Issue
Block a user