From b873a6b4dfb44960440480e7a84d79126a39d30c Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 31 Aug 2021 12:15:39 +0200 Subject: [PATCH] bugfixing to run command as user deploy --- sudoer_deploy | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sudoer_deploy b/sudoer_deploy index 77c0d03..c9555e8 100644 --- a/sudoer_deploy +++ b/sudoer_deploy @@ -1 +1,8 @@ deploy ALL=(ALL:ALL) NOPASSWD:/usr/local/bin/httpd-foreground + +Defaults env_keep += "APACHE_PID_FILE" +Defaults env_keep += "APACHE_LOCK_DIR" +Defaults env_keep += "APACHE_LOG_DIR" +Defaults env_keep += "APACHE_RUN_DIR" +Defaults env_keep += "APACHE_RUN_USER" +Defaults env_keep += "APACHE_RUN_GROUP" \ No newline at end of file