From 83e3c4a53db55e24483b5fc12d393e7c40639189 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 7 Mar 2020 20:17:10 +0100 Subject: [PATCH] Add systemd service for git annex watch --- config/systemd/user/git-annex-watch@.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/systemd/user/git-annex-watch@.service diff --git a/config/systemd/user/git-annex-watch@.service b/config/systemd/user/git-annex-watch@.service new file mode 100644 index 0000000..ba67674 --- /dev/null +++ b/config/systemd/user/git-annex-watch@.service @@ -0,0 +1,13 @@ +[Unit] +Description=git annex watch in %I + +[Service] +CPUAccounting=true +CPUQuota=20% +WorkingDirectory=%I +Environment=LANG=en_US.utf8 +ExecStart=/usr/bin/git-annex watch --foreground +Restart=always + +[Install] +WantedBy=default.target