48fa5cf415
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
)
14 lines
334 B
Desktop File
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
|