Added systemd folder. I feel dirty

This commit is contained in:
2025-03-10 19:19:20 +10:30
parent 06782ca17b
commit 41d987cae6

View File

@@ -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