Add Systemd templates
This commit is contained in:
7
systemd-templates/packages-upgrade-apt.service
Normal file
7
systemd-templates/packages-upgrade-apt.service
Normal file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Run APT to upgrade packages
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/usr/bin/apt-get update
|
||||
ExecStart=/usr/bin/apt-get upgrade -y
|
Reference in New Issue
Block a user