Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

fix service config file #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions templates/default/icinga2.service.config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
#
DAEMON=/usr/sbin/icinga2
ICINGA2_CONFIG_FILE=<%= @conf_dir -%>/icinga2.conf
ICINGA2_RUN_DIR=/var/run
ICINGA2_STATE_DIR=/var
ICINGA2_PID_FILE=$ICINGA2_RUN_DIR/icinga2/icinga2.pid
ICINGA2_PID_FILE=/var/run/icinga2/icinga2.pid
ICINGA2_ERROR_LOG=<%= @log_dir -%>/error.log
ICINGA2_STARTUP_LOG=<%= @log_dir -%>/startup.log
ICINGA2_LOG=<%= @log_dir -%>/icinga2.log
ICINGA2_USER=<%= @user %>
ICINGA2_GROUP=<%= @group %>
ICINGA2_COMMAND_GROUP=<%= @cmdgroup %>
ICINGA2_CACHE_DIR=$ICINGA2_STATE_DIR/cache/icinga2
ICINGA2_CACHE_DIR=/var/cache/icinga2