Fix potential buffer overflows detected by Coverity.
[pcp.git] / debian / pcp-manager.postinst
blobdacbbbb7e92a845719a7097fd8c255ef73483eff
1 #!/bin/sh -e
2 #DEBHELPER#
4 # must match src/pmmgr/GNUmakefile
5 chown pcp:pcp /var/log/pcp/pmmgr
6 chmod 775 /var/log/pcp/pmmgr
8 update-rc.d pmmgr defaults >/dev/null
10 # Note: default pmlogger and pmie setups are guaranteed to be
11 # installed also, so pmmgr disabled by default on deb install
13 #if which invoke-rc.d >/dev/null 2>&1; then
14 # invoke-rc.d pmmgr start
15 #else
16 # /etc/init.d/pmmgr start
17 #fi