
Follow GNU directory variable names and allow to specify PREFIX (by default /usr) and sysconfdir (by default /etc). This allows to install hassio scripts and service to alternative locations.
12 lines
240 B
Desktop File
12 lines
240 B
Desktop File
[Unit]
|
|
Description=Hass.io AppArmor
|
|
Wants=hassio-supervisor.service
|
|
Before=%%DOCKER_SERVICE%% hassio-supervisor.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
ExecStart=%%HASSIO_APPARMOR_BINARY%%
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|