Make sure /run/weldr has correct ownership and permissions

Normally tmpfiles.d will handle this at boot time, but if you install
lorax-composer without rebooting it was ending up with root:root
ownership instead of root:weldr

(cherry picked from commit 7adc5162fb)
This commit is contained in:
Brian C. Lane 2018-06-25 14:01:36 -07:00
parent ba8e478eed
commit 48fa5cf415

View File

@ -6,6 +6,7 @@ Wants=network-online.target
[Service]
User=root
Type=simple
ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/lorax-composer.conf
ExecStart=/usr/sbin/lorax-composer /var/lib/lorax/composer/recipes/
[Install]