diff --git a/security.service b/security.service new file mode 100644 index 0000000..a2c17c9 --- /dev/null +++ b/security.service @@ -0,0 +1,14 @@ +[Unit] +Description=VeraCrypt Protection +After=multi-user.target + +[Service] +Type=simple + +ExecStart=/usr/bin/bash /home/verita84/docker/gentoo/security.sh +ExecStop=/usr/bin/killall -9 security.sh +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=multi-user.target