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
This commit is contained in:
Brian C. Lane 2018-06-25 14:01:36 -07:00
parent adc91a4ce0
commit 4c466d4620

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]