Minor changes

This commit is contained in:
2021-10-25 14:31:23 +02:00
parent b511e86af2
commit e522c366db
5 changed files with 184 additions and 162 deletions

View File

@@ -294,7 +294,7 @@ Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/vdirsyncer --verbosity "ERROR" sync
ExecStart=/home/thomas/.local/bin/vdirsyncer --verbosity "ERROR" sync
Type=oneshot
#+end_src
@@ -377,3 +377,39 @@ Restart=on-failure
[Install]
WantedBy=default.target
#+end_src
* =trash-empty= - Empty the trash for files older than 30 days
** Service
:PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/trash-empty.service
:header-args+: :comments both :mkdirp yes
:END:
#+begin_src conf
[Unit]
Description=Empty the trash for files older than 30 days
Documentation=https://github.com/andreafrancia/trash-cli
[Service]
ExecStart=/home/thomas/.local/bin/trash-empty 30
Type=oneshot
#+end_src
** Timer
:PROPERTIES:
:header-args: :tangle ~/.config/systemd/user/trash-empty.timer
:header-args+: :comments both :mkdirp yes
:END:
#+begin_src conf
[Unit]
Description=Empty trash
[Timer]
OnCalendar=*-*-* 16:00:00
Persistent=true
Unit=trash-empty
[Install]
WantedBy=timers.target
#+end_src