From 41d987cae67b5050c7c91819e870df03c7a18508 Mon Sep 17 00:00:00 2001 From: haydn Date: Mon, 10 Mar 2025 19:19:20 +1030 Subject: [PATCH] Added systemd folder. I feel dirty --- systemd/copy_keyfile.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systemd/copy_keyfile.service diff --git a/systemd/copy_keyfile.service b/systemd/copy_keyfile.service new file mode 100644 index 0000000..a1ffd90 --- /dev/null +++ b/systemd/copy_keyfile.service @@ -0,0 +1,16 @@ +# /etc/systemd/system/copy_keyfile.service +[Unit] +Description=Copy Encryption Key +After=network.target + +[Service] +Type=simple +User=root +Restart=on-failure +RestartSec=30 +TimeoutStartSec=120 +ExecStart=/usr/bin/bash -c "/usr/local/bin/copy_keyfile" + +[Install] +WantedBy=multi-user.target +