Questions tagged [sysvinit]

SysVinit is a set of programs and scripts that control the startup, running and shutdown of all other programs.

283 questions
2
votes
1 answer

PID is different if starting with init.d

I'm currently on a Debian 10 machine working as a small server. I installed aria2c and use it as a download service. Everything is working probably so far. My question is: I started the aria2c as a daemon with an init.d script. There will be…
Andreas
  • 21
2
votes
0 answers

cowbuilder update warns of "Not restarting sysvinit"

We run a cowbuilder update every morning to grab any updated packages that may have arrived. During this update we are seeing this message sent to stderr: Not restarting sysvinit What does this message mean in the context of a cowbuilder update?…
rlandster
  • 733
1
vote
0 answers

init.d script for a foreground program

I have to write a portal init.d script for a program that runs on foreground (no daemon option; no pidfile option) and logs to stdout/stderr. The program should log into syslog service. The program should run as non root user, e.g. nobody. The…
1
vote
1 answer

Application does not start from inittab

I am trying to launch an application via inittab in an embedded system. The desire to do this via inittab rather than through an init.d script is to avail of respawn. There is no systemd on this system. I have the following entry in inittab:…
dqbydt
  • 11
0
votes
2 answers

init.d based on a bash script fails, why?

I have this init.d script (/etc/init.d/ctrlme): #!/lib/init/init-d-script ### BEGIN INIT INFO # Provides: ctrlme # Required-Start: $local_fs $remote_fs $network # Required-Stop: $local_fs $remote_fs $network # Default-Start: 2…
Adrian
  • 701
  • 1
  • 8
  • 29
0
votes
2 answers

Content of script in /etc/init.d/ deleted on restart

I created a script in /etc/init.d called hello that does some bash commands. Sometimes when I restart the linux device (remove then reinstate power), the contents of my script get totally erased although the actual file is still there. There is…
Lightsout
  • 165