File: unicorn.prerm

package info (click to toggle)
unicorn 6.1.0%2Bgit.20250131.1370f52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,044 kB
  • sloc: ruby: 7,424; perl: 1,157; sh: 828; ansic: 414; makefile: 8
file content (19 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

case "$1" in
  remove|deconfigure)
    if [ -x /etc/init.d/unicorn ]; then
      if [ -x "$(which invoke-rc.d)" ]; then
        invoke-rc.d unicorn stop
      else
        /etc/init.d/unicorn stop
      fi
    fi
  ;;
esac

#DEBHELPER#

exit 0