/usr/share/doc/juman/juman-server is in juman 7.0-3.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #! /bin/sh
#
# If you want to use Juman server, copy this script to /etc/init.d/
# and call update-rc.d to install the links of the copied script.
#
### BEGIN INIT INFO
# Provides: juman
# Required-Start: $local_fs $network $syslog
# Required-Stop: $local_fs $network $syslog
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Juman init script
# Description: Init script for Juman server
### END INIT INFO
NAME=juman
DAEMON="/usr/bin/$NAME"
DESC="Juman server"
test -f $DAEMON || exit 0
PARAMS="-S"
case "$1" in
start)
check_for_no_start
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --background --exec $DAEMON -- $PARAMS
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
sleep 1
start-stop-daemon --start --quiet --background --exec $DAEMON -- $PARAMS
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
|