c01e1e0486
This also sets ownership of /var/lib/lorax/composer/ to root:weldr to allow missing directories to be created at runtime.
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
|