Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
monitoring
>
monit
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 19
[-]
[+]
Changed
monit.spec
@@ -75,6 +75,27 @@ echo "###################################################" +## generate pound cert +exec > /dev/null 2> /dev/null +if [ ! -f %{_sysconfdir}/pki/tls/certs/monit.pem ] ; then +pushd %{_sysconfdir}/pki/tls/certs +umask 077 +cat << EOF | make monit.pem +-- +Bavaria +Regensburg +Monit Default Cert +IX Tech +localhost.localdomain +root@localhost.localdomain +EOF +chown root:root monit.pem +chmod 640 monit.pem +popd +fi +exit 0 + + %preun if [ $1 = 0 ]; then /sbin/service monit stop >/dev/null 2>&1