Start lorri with sytemd
Whenever possible, prefer starting things as systemd units instead of instantiating them in ~/.profile and other dotfiles.
This commit is contained in:
parent
048b7867bf
commit
938c1a4eb0
3 changed files with 24 additions and 5 deletions
9
configs/shared/.config/systemd/user/lorri.socket
Normal file
9
configs/shared/.config/systemd/user/lorri.socket
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Lorri build daemon
|
||||
|
||||
[Socket]
|
||||
ListenStream=%t/lorri/daemon.socket
|
||||
RuntimeDirectory=lorri
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue