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:
parent
029d84ddaa
commit
8a8254d2ee
|
@ -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
|
|
@ -6,7 +6,6 @@ CPUAccounting=true
|
||||||
CPUQuota=20%
|
CPUQuota=20%
|
||||||
WorkingDirectory=%I
|
WorkingDirectory=%I
|
||||||
ExecStart=/usr/bin/git-annex assistant --foreground
|
ExecStart=/usr/bin/git-annex assistant --foreground
|
||||||
RuntimeMaxSec=86400
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue