Hi all :-)
on debian stable I added a script to /etc/init.d/, that script sends an
email when the system boot and when the system shutdown
I need run that script before that postfix has killed
what's the best way to fill:
cat /etc/init.d/systememail
#!/bin/sh
### BEGIN INIT INFO
# Provides: SystemEmail
# Required-Start: $remote_fs $syslog $ALL
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Send email
[...]
normally after created a script I do:
insserv /etc/init.d/name_of_script
thanks for help!
Pol
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/539c8fe5.9000...@fuckaround.org