lorax/systemd/lorax-composer.service

14 lines
334 B
SYSTEMD
Raw Normal View History

[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