55b89d1aeb
Instead of enabling lorax-composer.service enable lorax-composer.socket and it will start lorax-composer on first access to /run/weldr/api.socket
13 lines
201 B
SYSTEMD
13 lines
201 B
SYSTEMD
[Unit]
|
|
Description=lorax-composer socket activation
|
|
|
|
[Socket]
|
|
ListenStream=/run/weldr/api.socket
|
|
SocketUser=root
|
|
SocketGroup=weldr
|
|
SocketMode=0660
|
|
DirectoryMode=0750
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|