diff options
Diffstat (limited to 'configs/shared/.config')
-rw-r--r-- | configs/shared/.config/systemd/user/lorri.service | 12 | ||||
-rw-r--r-- | configs/shared/.config/systemd/user/lorri.socket | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/configs/shared/.config/systemd/user/lorri.service b/configs/shared/.config/systemd/user/lorri.service new file mode 100644 index 000000000000..a72646813a66 --- /dev/null +++ b/configs/shared/.config/systemd/user/lorri.service @@ -0,0 +1,12 @@ +[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 \ No newline at end of file diff --git a/configs/shared/.config/systemd/user/lorri.socket b/configs/shared/.config/systemd/user/lorri.socket new file mode 100644 index 000000000000..b752fa0fa5d6 --- /dev/null +++ b/configs/shared/.config/systemd/user/lorri.socket @@ -0,0 +1,9 @@ +[Unit] +Description=Lorri build daemon + +[Socket] +ListenStream=%t/lorri/daemon.socket +RuntimeDirectory=lorri + +[Install] +WantedBy=sockets.target \ No newline at end of file |