914c33ef97
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
)
14 lines
337 B
Desktop File
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
|