tvl-depot/configs/shared/.config/systemd/user/lorri.service
William Carroll 938c1a4eb0 Start lorri with sytemd
Whenever possible, prefer starting things as systemd units instead of
instantiating them in ~/.profile and other dotfiles.
2020-02-07 11:01:34 +00:00

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