Fix paths to binaries in service files
RHEL-10 does not have the bin+sbin merge that Fedora recently did. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
7a03dbeede
commit
5ccd6e4136
@ -6,7 +6,7 @@ ConditionPathExists=/dev/sgx_enclave
|
||||
[Service]
|
||||
Type=simple
|
||||
User=aesmd
|
||||
ExecStart=/usr/bin/aesmd --no-daemon
|
||||
ExecStart=/usr/sbin/aesmd --no-daemon
|
||||
ExecReload=/bin/kill -SIGHUP $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=15s
|
||||
|
||||
@ -6,7 +6,7 @@ ConditionPathExists=/dev/sgx_enclave
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/mpa_registration
|
||||
ExecStart=/usr/sbin/mpa_registration
|
||||
|
||||
InaccessibleDirectories=/home
|
||||
DevicePolicy=closed
|
||||
|
||||
@ -10,7 +10,7 @@ User=qgs
|
||||
EnvironmentFile=-/etc/sysconfig/qgs
|
||||
ExecStartPre=+mkdir -p /var/run/tdx-qgs
|
||||
ExecStartPre=+chown qgs.qgs /var/run/tdx-qgs
|
||||
ExecStart=/usr/bin/qgs --no-daemon $QGS_ARGS
|
||||
ExecStart=/usr/sbin/qgs --no-daemon $QGS_ARGS
|
||||
# qgs fails to delete the socket on stop and
|
||||
# won't delete it on startup either :-(
|
||||
ExecStopPost=rm -f /var/run/tdx-qgs/qgs.socket
|
||||
|
||||
Loading…
Reference in New Issue
Block a user