summaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-prepare.service
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-09-28 22:51:43 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-09-28 22:51:43 +0200
commitda536e2381b9c399f7c3beaff322abac91c8be85 (patch)
tree7dfdd4e2b4d777307b2e79893c58f45bc19dcccf /systemd/pacman-offline-prepare.service
parentc53dcadab9cebef99622f016fd828028aaab2c95 (diff)
downloadpacman-offline-da536e2381b9c399f7c3beaff322abac91c8be85.tar.gz
pacman-offline-da536e2381b9c399f7c3beaff322abac91c8be85.tar.zst
add timer to prepare system-update
Diffstat (limited to 'systemd/pacman-offline-prepare.service')
-rw-r--r--systemd/pacman-offline-prepare.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/pacman-offline-prepare.service b/systemd/pacman-offline-prepare.service
new file mode 100644
index 0000000..59cc76f
--- /dev/null
+++ b/systemd/pacman-offline-prepare.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Prepare pacman offline system-update
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/pacman-offline -y
+ProtectSystem=on
+ProtectHome=on
+PrivateDevices=on
+NoNewPrivileges=on