How to install a daemon with quickly
I'm building a project jsontrap that runs as a daemon.
I can get my daemon working but I'm having difficulty building a deb package for it.
I have an init command (/etc/init.
the sec package DEBIAN/postinst contains this
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/sec" ]; then
update-rc.d sec defaults >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d sec start || exit $?
else
/etc/init.d/sec start || exit $?
fi
fi
# End automatically added section
while the jsontrap package DEBIAN/postinst contains
#!/bin/sh
set -e
# Automatically added by dh_pysupport
if which update-
update-
fi
# End automatically added section
I guess I need quickly package to call dh_installinit for my project. Does anyone know how to achieve this ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Quickly Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Tony Byrne
- Solved:
- Last query:
- Last reply: