summarylogtreecommitdiffstats
path: root/autoupgrade.service
diff options
context:
space:
mode:
Diffstat (limited to 'autoupgrade.service')
-rw-r--r--autoupgrade.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/autoupgrade.service b/autoupgrade.service
new file mode 100644
index 000000000000..5b0233116f88
--- /dev/null
+++ b/autoupgrade.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Automatic Upgrade
+After=network-online.target
+
+[Service]
+Type=simple
+SyslogIdentifier=autoupgrade
+ExecStart=nice -n 19 pacman -Syuq --noconfirm
+TimeoutStopSec=300
+KillMode=process
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target