Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:naemon
thruk
_service:extract_file:debian.thruk-base.prerm
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:debian.thruk-base.prerm of Package thruk
#!/bin/sh # prerm script for thruk # # see: dh_installdeb(1) set -e case "$1" in remove|deconfigure) thruk -a uninstallcron --local || echo "ERROR: removing cron failed, please remove www-data cron manually" invoke-rc.d thruk stop || true rm -rf /usr/share/thruk/root/thruk/plugins /etc/apache2/conf-enabled/thruk.conf /etc/apache2/conf-enabled/thruk_cookie_auth_vhost.conf sed -i -e '/thruk_cookie_auth.include/d' /etc/apache2/sites-available/default* 2>/dev/null || true ;; upgrade|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor