0

What is the best way to start a service on Debian through a program? I used to use '/sbin/service start', but I recently came across a system where '/sbin/service' did not exist, so starting the daemon would fail.

Specksynder
  • 813
  • 9
  • 20

1 Answers1

1

copy and customize /etc/init.d/skeleton (e.g. into /etc/init.d/specksyn) and add symlinks from e.g. /etc/rc2.d/S99specksyn to it, etc. etc.

Basile Starynkevitch
  • 223,805
  • 18
  • 296
  • 547