hassio-supervised-installer/files/hassio-apparmor.service
Stefan Agner cbae7bc68a Support custom prefix (/usr) and sysconfdir (/etc) (#27)
* use separate variable to specify Docker config location

* use templates and always adjust paths

This prepares for further customization of file locations.

* allow to customize prefix and sysconfdir

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.
2019-07-26 20:52:30 +02:00

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