From 4a04255405d0aaae9a8c6c86b49d6b22180fc2f7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 6 Apr 2020 07:21:32 +0000 Subject: systemd: Add service to start shepherd at start-up. We would add this as a systemd-user service in .config/systemd, but that would (IIRC) only actually start when someone logged in as the shepherd user, which would be less useful. --- user-shepherd.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user-shepherd.service (limited to 'user-shepherd.service') diff --git a/user-shepherd.service b/user-shepherd.service new file mode 100644 index 0000000..b47c103 --- /dev/null +++ b/user-shepherd.service @@ -0,0 +1,12 @@ +[Unit] +Description=Launch user shepherd daemon +Wants=guix-daemon.service + +[Service] +Type=oneshot +ExecStart=/var/guix/profiles/per-user/shepherd/guix-profile/bin/shepherd +User=shepherd +Group=shepherd + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3