dcron: provide init script
authorAlvaro G. M <alvaro.gamez@hazent.com>
Thu, 17 Jul 2014 09:34:08 +0000 (11:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Jul 2014 18:59:46 +0000 (20:59 +0200)
commit994e9fa72e80f8d618393619fefd68f65821144f
tree2b544f1af60038970671c9c5d9a9f1bafed3b4c8
parent00bf63600ed45643decd0a0dd21006af4b9b838a
dcron: provide init script

dcron doesn't create a pid file, so we run it in foreground but make
start-stop-daemon create the pidfile and move the daemon to background.

Give it a number greater than exim's init script, so job output email
can be sent.

[Thomas: as suggested by Yann E. Morin, use DCRON_INSTALL_INIT_SYSV.]

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dcron/S90dcron [new file with mode: 0644]
package/dcron/dcron.mk