summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormischa <mischa@rx.high5.nl>2020-07-05 11:42:59 +0200
committermischa <mischa@rx.high5.nl>2020-07-05 11:42:59 +0200
commit1372e642b85c210f3574475b4c25635b7d438caf (patch)
tree3fd2d11c356c0d7bf9d68292c1e6ac7275704bec
parente71569aace7acacb403beb3825df635dd3496dab (diff)
added -x to pkill for exact match
-rwxr-xr-xdeploy.pl2
-rw-r--r--vms/vm02.txt2
-rw-r--r--vms/vm03.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/deploy.pl b/deploy.pl
index 67c618c..f72b7aa 100755
--- a/deploy.pl
+++ b/deploy.pl
@@ -222,7 +222,7 @@ sub render_doas_conf {
for my $vm_name (sort keys %vms) {
my $_instance = $vms{$vm_name}{'instance'} || $vm_name;
my $_owner = $vms{$vm_name}{'owner'} || $vms{$vm_name}{'username'};
- printf $fh_doas "permit nopass %s as root cmd pkill args -9 -f %s\n", $_owner, $_instance;
+ printf $fh_doas "permit nopass %s as root cmd pkill args -9 -xf %s\n", $_owner, $_instance;
}
close $fh_doas;
}
diff --git a/vms/vm02.txt b/vms/vm02.txt
index dabb83a..715781b 100644
--- a/vms/vm02.txt
+++ b/vms/vm02.txt
@@ -1,4 +1,4 @@
-date="2019/12/01"
+date="2018/07/02"
payment="70"
donated=""
name="Test2 User"
diff --git a/vms/vm03.txt b/vms/vm03.txt
index fa5a315..63a76f6 100644
--- a/vms/vm03.txt
+++ b/vms/vm03.txt
@@ -1,4 +1,4 @@
-date="2018/05/21"
+date="2020/07/21"
payment="60"
donated=""
name="Test3"