aboutsummaryrefslogtreecommitdiff
path: root/deploy_systemd.sh
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2024-01-09 17:34:05 +0100
committerThorsten Töpper <atsutane@freethoughts.de>2024-01-09 17:34:05 +0100
commit08d1544cb45b521d13818b74c919d9418d8d7e9a (patch)
tree3e5d3a7524260937b15f10269d588b4b3fa6e94b /deploy_systemd.sh
parent484f8ddcf5f885c321b8ea7dc131f8be61d280a2 (diff)
downloaddotfiles-08d1544cb45b521d13818b74c919d9418d8d7e9a.tar.gz
dotfiles-08d1544cb45b521d13818b74c919d9418d8d7e9a.tar.bz2
Arch Linux: systemd timers for keyring update
Diffstat (limited to 'deploy_systemd.sh')
-rwxr-xr-xdeploy_systemd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy_systemd.sh b/deploy_systemd.sh
new file mode 100755
index 0000000..e90f092
--- /dev/null
+++ b/deploy_systemd.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cp -v systemd/*service systemd/*timer /etc/systemd/system/
+systemctl daemon-reload
+
+cd systemd
+for f in $(ls *.timer); do systemctl enable $f ; done
+cd ..
+