};
/* Debug information:
# dpkg list:
-rc linux-image-3.16.0-4-amd64 3.16.7-ckt25-2 amd64 Linux 3.16 for 64-bit PCs
-rc linux-image-4.7.0-0.bpo.1-amd64 4.7.8-1~bpo8+1 amd64 Linux 4.7 for 64-bit PCs (signed)
-rc linux-image-4.8.0-0.bpo.2-amd64 4.8.15-2~bpo8+2 amd64 Linux 4.8 for 64-bit PCs (signed)
-rc linux-image-4.9.0-0.bpo.1-amd64 4.9.2-2~bpo8+1 amd64 Linux 4.9 for 64-bit PCs (signed)
-rc linux-image-4.9.0-3-amd64 4.9.30-2+deb9u5 amd64 Linux 4.9 for 64-bit PCs
-ii linux-image-4.9.0-4-amd64 4.9.65-3+deb9u1 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-4.9.0-5-amd64 4.9.65-3+deb9u2 amd64 Linux 4.9 for 64-bit PCs
-iF linux-image-4.9.0-6-amd64 4.9.82-1+deb9u3 amd64 Linux 4.9 for 64-bit PCs
+iF linux-image-4.9.0-6-amd64 4.9.88-1 amd64 Linux 4.9 for 64-bit PCs
ii linux-image-amd64 4.9+80+deb9u4 amd64 Linux for 64-bit PCs (meta-package)
# list of installed kernel packages:
-4.9.0-4-amd64 4.9.65-3+deb9u1
4.9.0-5-amd64 4.9.65-3+deb9u2
-4.9.0-6-amd64 4.9.82-1+deb9u3
+4.9.0-6-amd64 4.9.88-1
# list of different kernel versions:
-4.9.82-1+deb9u3
+4.9.88-1
4.9.65-3+deb9u2
-4.9.65-3+deb9u1
-# Installing kernel: 4.9.82-1+deb9u3 (4.9.0-6-amd64)
-# Running kernel: 4.9.65-3+deb9u2 (4.9.0-5-amd64)
-# Last kernel: 4.9.82-1+deb9u3
+# Installing kernel: 4.9.88-1 (4.9.0-6-amd64)
+# Running kernel: 4.9.88-1 (4.9.0-6-amd64)
+# Last kernel: 4.9.88-1
# Previous kernel: 4.9.65-3+deb9u2
# Kernel versions list to keep:
4.9.65-3+deb9u2
-4.9.82-1+deb9u3
+4.9.88-1
# Kernel packages (version part) to protect:
4\.9\.0-5-amd64
4\.9\.0-6-amd64
# check run directory
check_run () {
- test -d '/var/run/icinga2' || mkdir /var/run/icinga2
- test -d '/var/run/icinga2/cmd' || mkdir /var/run/icinga2/cmd
+ if [ ! -e '/var/run/icinga2' ]; then
+ mkdir /var/run/icinga2
+ mkdir /var/run/icinga2/cmd
- chown "$DAEMON_USER":"$DAEMON_GROUP" /var/run/icinga2
- chmod 0755 /var/run/icinga2
+ chown "$DAEMON_USER":"$DAEMON_CMDGROUP" /var/run/icinga2/cmd
+ chmod 2710 /var/run/icinga2/cmd
- chown "$DAEMON_USER":"$DAEMON_CMDGROUP" /var/run/icinga2/cmd
- chmod 2710 /var/run/icinga2/cmd
+ chown "$DAEMON_USER":"$DAEMON_GROUP" /var/run/icinga2
+ chmod 0755 /var/run/icinga2
+ fi
}
check_config () {
# restarting (for example, when it is sent a SIGHUP),
# then implement that here.
#
- start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+ start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE --name $NAME
return 0
}
# all data that has a result of True and no changes will be suppressed.
#state_verbose: True
-# The state_output setting changes if the output is the full multi line
-# output for each changed state if set to 'full', but if set to 'terse'
-# the output will be shortened to a single line.
+# The state_output setting controls which results will be output full multi line
+# full, terse - each state will be full/terse
+# mixed - only states with errors will be full
+# changes - states with changes and errors will be full
+# full_id, mixed_id, changes_id and terse_id are also allowed;
+# when set, the state ID will be used as name in the output
#state_output: full
# The state_output_diff setting changes whether or not the output from
# certfile: <path_to_certfile>
# ssl_version: PROTOCOL_TLSv1_2
+# Grains to be sent to the master on authentication to check if the minion's key
+# will be accepted automatically. Needs to be configured on the master.
+#autosign_grains:
+# - uuid
+# - server_id
+
###### Reactor Settings #####
###########################################
# for a full explanation.
#multiprocessing: True
+# Limit the maximum amount of processes or threads created by salt-minion.
+# This is useful to avoid resource exhaustion in case the minion receives more
+# publications than it is able to handle, as it limits the number of spawned
+# processes or threads. -1 is the default and disables the limit.
+#process_count_max: -1
+
##### Logging settings #####
##########################################
# all data that has a result of True and no changes will be suppressed.
#state_verbose: True
-# The state_output setting changes if the output is the full multi line
-# output for each changed state if set to 'full', but if set to 'terse'
-# the output will be shortened to a single line.
+# The state_output setting controls which results will be output full multi line
+# full, terse - each state will be full/terse
+# mixed - only states with errors will be full
+# changes - states with changes and errors will be full
+# full_id, mixed_id, changes_id and terse_id are also allowed;
+# when set, the state ID will be used as name in the output
#state_output: full
# The state_output_diff setting changes whether or not the output from