lorax/systemd/lorax-composer.service
Brian C. Lane 442dc43206 Open the git repo after dropping root privileges
Also make sure the recipe directory and its contents have correct
ownership, and change the default recipe path when using the systemd
service to /var/lib/lorax/composer/recipes/
2018-06-11 16:54:58 -07:00

13 lines
246 B
Desktop File

[Unit]
Description=Lorax Image Composer API Server
After=network-online.target
Wants=network-online.target
[Service]
User=root
Type=simple
ExecStart=/usr/sbin/lorax-composer /var/lib/lorax/composer/recipes/
[Install]
WantedBy=multi-user.target