Remove maximal runtime for git-annex assistant

The assistant should instead be restarted on resume, preferably by another
service file, installed on system level.
This commit is contained in:
Daniel - 2019-01-19 11:11:04 +01:00
parent 029d84ddaa
commit 8a8254d2ee
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=Kill git-annex assistant after resume
After=sleep.target
[Service]
Type=oneshot
ExecStart=pkill -f "^/usr/bin/git-annex assistant"
[Install]
WantedBy=sleep.target

View File

@ -6,7 +6,6 @@ CPUAccounting=true
CPUQuota=20%
WorkingDirectory=%I
ExecStart=/usr/bin/git-annex assistant --foreground
RuntimeMaxSec=86400
Restart=always
[Install]