lorax/systemd/lorax-composer.service
Brian C. Lane 48fa5cf415 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)
2018-06-27 16:14:47 -07:00

14 lines
334 B
Desktop File

[Unit]
Description=Lorax Image Composer API Server
After=network-online.target
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]
WantedBy=multi-user.target