Add systemd service for git annex watch

This commit is contained in:
Daniel - 2020-03-07 20:17:10 +01:00
parent 78a9fc3f8c
commit 83e3c4a53d
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 13 additions and 0 deletions

View File

@ -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