summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2024-05-13 16:48:48 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2024-05-13 16:48:48 +0200
commit05aa7f1fbcbcfe80308eeaf018a35088cc54c02c (patch)
treed02dea7bb9d81deb59278c24ac299b7f87e31eb6
parentb14a0ef3f7d71f0d9fdfab96bc2585e047083b52 (diff)
change permissions to be more secure
-rw-r--r--manifests/managed_service.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/managed_service.pp b/manifests/managed_service.pp
index af9bf5a..d584442 100644
--- a/manifests/managed_service.pp
+++ b/manifests/managed_service.pp
@@ -12,7 +12,7 @@ define s6::managed_service (
"${service_dir}/${name}/run":
ensure => present,
content => $runscript,
- mode => '0755',
+ mode => '0700',
;
}
if $finishscript {
@@ -20,7 +20,7 @@ define s6::managed_service (
"${service_dir}/${name}/finish":
ensure => present,
content => $finishscript,
- mode => '0755',
+ mode => '0700',
;
}
}
@@ -35,7 +35,7 @@ define s6::managed_service (
"${service_dir}/${name}/log/run":
ensure => present,
content => $logger_runscript,
- mode => '0755',
+ mode => '0700',
;
}
}