938c1a4eb0
Whenever possible, prefer starting things as systemd units instead of instantiating them in ~/.profile and other dotfiles.
12 lines
No EOL
228 B
Desktop File
12 lines
No EOL
228 B
Desktop File
[Unit]
|
|
ConditionUser=!@system
|
|
Description=Lorri build daemon
|
|
After=lorri.socket
|
|
Wants=lorri.socket
|
|
|
|
[Service]
|
|
ExecStart=%h/.nix-profile/bin/lorri daemon
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
Restart=on-failure
|
|
WorkingDirectory=%h |