How to stop/disable other services in postinst script

2017-07-01 Thread votdev
  Hello.   how can i stop and disable other services in my package postinst script? Currently i'm doing the following:   case "$1" in     configure)                 # Set the default settings when the package is installed.  

postinst corrupts my settings after a 'apt-get upgrade'.

2011-10-05 Thread votdev
Hello, i have some problems with the package update mechanism in my appliance. I have installed various services like 'forked-daapd'. Because i wanted to monitor and start the daemon via 'monit' i removed the init script from the runlevels via 'update-rc.d -f forked-daapd remove'. After a 'apt-get