Added systemd folder. I feel dirty
This commit is contained in:
16
systemd/copy_keyfile.service
Normal file
16
systemd/copy_keyfile.service
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user