Initial commit
This commit is contained in:
6
systemd-templates/apt-autoremove.service
Normal file
6
systemd-templates/apt-autoremove.service
Normal file
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Run apt autoremove
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/apt-get autoremove -y
|
9
systemd-templates/apt-autoremove.timer
Normal file
9
systemd-templates/apt-autoremove.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run apt-autoremove after boot (for desktops)
|
||||
|
||||
[Timer]
|
||||
Unit=apt-autoremove.service
|
||||
OnBootSec=2min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user