Questions tagged [init]
The init tag has no summary.
118 questions
0
votes
1
answer
453
views
Run custom s6 script in docker container once only
I'm using automation (ansible) to deploy a dockerised app (gitea). The app runs s6 in its docker entrypoint.
I want to run my own script:
after the container's first load (so the files and db are ...
0
votes
1
answer
1k
views
Why is technically possible for init to be a shell script?
I'm currently studying the boot process and composition of the different aspects of a GNU/Linux system and I can't rationaly explain this thing : you can write init inside an initramfs file as a shell ...
0
votes
0
answers
432
views
Is it possible to get systemd to monitor a process that it does not start?
Some of our startup scripts have an ExecStart line that runs a curl command to start jobs from our Jenkins build server.
Systemd does not know anything about the job that is started as a result of the ...
0
votes
1
answer
58
views
Is systemd right for this task?
Currently, there's a fairly complex Python script that manages several dozen processes across a few servers. Each individual process has the same setup/requirements:
Main process must come up and be ...
0
votes
1
answer
3k
views
'systemctl restart service' not working on CentOS 7
I have a custom service managed by an init script in /etc/init.d and, after upgrading to CentOS 7, with systemd, 'systemctl restart service' is not working correctly. I need to execute two times '...
5
votes
1
answer
9k
views
whats the difference between sigkill and sigabrt? [closed]
The other day I experienced a halt in my python application with sigabrt, but I knew that the init should send a sigkill signal. I'm curious what's the difference between them, if any? Can someone ...
0
votes
0
answers
109
views
Which init system is main on particular system?
I have installed application with several init scripts as for dpkg -L application shows. For example:
/etc/init/application.conf
/etc/init.d/application
/usr/systemd/applaication.service
But i use ...
0
votes
1
answer
778
views
Disabling MariaDb on Debian jessie doesn't work
I have MariaDb installed on Debian jessie. I need to remove it from automatic system startup. I tried recommended commands but they did not work:
root@debian:/home/gameboy# systemctl disable mysql
...
5
votes
3
answers
8k
views
NFS server not serving share after reboot
I have two Linode containers. Box A is our general purpose web server. It occasionally needs to access Box B, which is set up as an NFS server.
When Box B reboots, Box A is unable to access any NFS ...
0
votes
0
answers
825
views
Why corrupted rc.sysinit file create syslogd error
During boot the system hangs, and the last message while it hangs is:
Starting system logger: Can't open or create /var/run/syslogd.pid. Can't write pid.
After a while I discovered that /etc/init/rc....
1
vote
0
answers
42
views
Start script are not cleared table of processes
I have a proxy server, all ok. But, i have some problems & questions.
First: when i make "/etc/init.d/nginx stop" or "/etc/init.d/nginx restart", of my config, it not reload and all nginx process ...
1
vote
1
answer
1k
views
s6 supervisor: variable set with s6-envdir can't be used
I'm trying to wrap my head around s6 supervisor suite. I've figured out run and log but I'm stuck with s6-envdir and I'm not sure how do I use it.
I see that environment variable gets set, but I can'...
2
votes
1
answer
6k
views
init doesn't kill zombies
I have some zombie processes on my system. I've killed the parent of those zombies hoping init will take over and free up the resources (lots of sockets in CLOSE_WAIT). However init is not removing ...
41
votes
4
answers
65k
views
How to use the `$HOME` environment variable in systemd service files
I am trying to use the $HOME environment variable in the ExecStart. I tried many different things like $HOME and ${HOME} but nothing seems to be working
ExecStart=${HOME}/bin/some-binary
Anyone knows ...
0
votes
1
answer
1k
views
rsyslogd wont start correctly on Ubuntu 14.04.4 LTS while using the Init-Script
somehow my init-script for rsyslogd does not work. I tried to enable rsyslogd to accept logging-data on udp:514.
If I start my rsyslogd via Init-Script, no logging-data is forwarded. Not even syslog! ...