~lynxman/mcollective-server-provisioner/trunk

« back to all changes in this revision

Viewing changes to debian/mcollective-plugins-provisioner.postrm

  • Committer: Marc Cluet
  • Date: 2011-06-28 08:59:04 UTC
  • Revision ID: marc.cluet@ubuntu.com-20110628085904-oqfkkxyzazsbfm0f
* Initial Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh -e
2
2
 
3
 
set -e
4
 
 
5
3
if [ -f "/etc/mcollective/server.cfg" ]
6
4
then
7
 
    invoke-rc.d mcollective restart
 
5
    service mcollective restart || postrm
8
6
fi
9
7
 
10
8
#DEBHELPER#
11
 
exit 0