File: postinst

package info (click to toggle)
hobbit-plugins 20230301
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 620 kB
  • sloc: perl: 3,368; sh: 31; makefile: 16
file content (20 lines) | stat: -rw-r--r-- 332 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

LOCAL_CONFIG_FILES="apt_no_repo_accept apt_reject libs.local.yaml zombies_ignore"

set -e

case $1 in
	configure)
		chown -c xymon:xymon /var/lib/xymon
		if test -x /usr/lib/xymon/server/bin/xymond ; then
			invoke-rc.d xymon reload || :
		else
			invoke-rc.d xymon-client reload || :
		fi
		;;
esac

#DEBHELPER#

exit 0