RHEL-10 does not have the bin+sbin merge that Fedora recently did. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
22 lines
465 B
Desktop File
22 lines
465 B
Desktop File
[Unit]
|
|
Description=SGX Architectural Enclave Service Manager
|
|
After=syslog.target auditd.service
|
|
ConditionPathExists=/dev/sgx_enclave
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=aesmd
|
|
ExecStart=/usr/sbin/aesmd --no-daemon
|
|
ExecReload=/bin/kill -SIGHUP $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=15s
|
|
|
|
WorkingDirectory=/var/lib/aesmd
|
|
InaccessibleDirectories=/home
|
|
DevicePolicy=closed
|
|
DeviceAllow=/dev/sgx_enclave rw
|
|
DeviceAllow=/dev/sgx_provision rw
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|