[maid] Add maid to the systemd timers

This commit is contained in:
Sebastian Schulze 2019-07-31 12:42:50 +02:00
parent d923b4747d
commit 31feace4e6
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[Unit]
Description=Run maid cleanup
[Service]
Type=oneshot
ExecStart=maid clean --force

View File

@ -0,0 +1,10 @@
[Unit]
Description=Run maid timer
[Timer]
OnActiveSec=30s
OnUnitActiveSec=120m
Unit=maid.service
[Install]
WantedBy=timers.target

View File

@ -0,0 +1 @@
/home/bascht/.config/systemd/user/maid.timer