From e8c6b9414340b517f91efe5a2a170eaaf9ab9509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Sat, 12 Dec 2015 16:08:46 +0100 Subject: [PATCH] check docker.service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- tests/3_docker_daemon_configuration_files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/3_docker_daemon_configuration_files.sh b/tests/3_docker_daemon_configuration_files.sh index dc2fdbc..04367c5 100644 --- a/tests/3_docker_daemon_configuration_files.sh +++ b/tests/3_docker_daemon_configuration_files.sh @@ -5,7 +5,7 @@ info "3 - Docker Daemon Configuration Files" # 3.1 check_3_1="3.1 - Verify that docker.service file ownership is set to root:root" -file="$(get_systemd_service_file docker-registry.service)" +file="$(get_systemd_service_file docker.service)" if [ -f "$file" ]; then if [ "$(stat -c %u%g $file)" -eq 00 ]; then pass "$check_3_1" @@ -20,7 +20,7 @@ fi # 3.2 check_3_2="3.2 - Verify that docker.service file permissions are set to 644" -file="$(get_systemd_service_file docker-registry.service)" +file="$(get_systemd_service_file docker.service)" if [ -f "$file" ]; then if [ "$(stat -c %a $file)" -eq 644 ]; then pass "$check_3_2"