From 0cf406f392a39aa7904a406908632e8612b53395 Mon Sep 17 00:00:00 2001 From: verita84 Date: Sun, 31 Dec 2023 18:20:49 -0700 Subject: [PATCH] Update security.service --- security.service | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/security.service b/security.service index a2c17c9..7517669 100644 --- a/security.service +++ b/security.service @@ -1,14 +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 +[Unit] +Description=VeraCrypt Protection +After=multi-user.target + +[Service] +Type=simple + +ExecStart=/usr/bin/bash /root/docker/gentoo/security.sh start +ExecStop=/usr/bin/bash /root/docker/gentoo/security.sh stop +Restart=on-failure +RestartSec=3 + +[Install] +WantedBy=multi-user.target