# /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