EVERYTHING FROM THE OTHER REPO
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Daily apt upgrade and clean activities
|
||||
Documentation=man:apt(8)
|
||||
ConditionACPower=true
|
||||
After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=-/usr/lib/apt/apt-helper wait-online
|
||||
ExecStart=/usr/lib/apt/apt.systemd.daily install
|
||||
KillMode=process
|
||||
TimeoutStopSec=900
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Daily apt upgrade and clean activities
|
||||
After=apt-daily.timer
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 6:00
|
||||
RandomizedDelaySec=60m
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Daily apt download activities
|
||||
Documentation=man:apt(8)
|
||||
ConditionACPower=true
|
||||
After=network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=-/usr/lib/apt/apt-helper wait-online
|
||||
ExecStart=/usr/lib/apt/apt.systemd.daily update
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily apt download activities
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 6,18:00
|
||||
RandomizedDelaySec=12h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Daily dpkg database backup service
|
||||
Documentation=man:dpkg(1)
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/dpkg/dpkg-db-backup
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily dpkg database backup timer
|
||||
Documentation=man:dpkg(1)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Discard unused blocks on filesystems from /etc/fstab
|
||||
Documentation=man:fstrim(8)
|
||||
ConditionVirtualization=!container
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/sbin/fstrim --listed-in /etc/fstab:/proc/self/mountinfo --verbose --quiet-unsupported
|
||||
PrivateDevices=no
|
||||
PrivateNetwork=yes
|
||||
PrivateUsers=no
|
||||
ProtectKernelTunables=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectControlGroups=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
SystemCallFilter=@default @file-system @basic-io @system-service
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Discard unused filesystem blocks once a week
|
||||
Documentation=man:fstrim
|
||||
ConditionVirtualization=!container
|
||||
ConditionPathExists=!/etc/initrd-release
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
AccuracySec=1h
|
||||
Persistent=true
|
||||
RandomizedDelaySec=100min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
After=local-fs.target
|
||||
Before=multi-user.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
DefaultDependencies=no
|
||||
Description=Make sure parent directories configured in /etc/security/namespace.conf for polyinstantiation exist
|
||||
Documentation=man:pam_namespace(8)
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/pam_namespace_helper
|
||||
Type=oneshot
|
||||
Reference in New Issue
Block a user