lorax/systemd/lorax-composer.service
Brian C. Lane 914c33ef97 Include example blueprints in the rpm
This also sets ownership of /var/lib/lorax/composer/ to root:weldr to
allow missing directories to be created at runtime.

(cherry picked from commit f38f5cc168)
2018-06-27 16:13:39 -07:00

14 lines
337 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/blueprints/
[Install]
WantedBy=multi-user.target