You are not logged in.
Hello!
I just added ExecUpPost parameter and now I got one zombie process: [netctl.action] <defunct>
What I am doing wrong? Should my script return something like true or?
Last edited by dersd (2014-01-24 00:27:30)
Offline
Seriously? Do you really think that someone who is reading this post is going to have any clue as to what you may or may not have done here? You need to do about 1000 times better of a job explaining your situation.
Offline
Okay.
I've got bash script that starts reverse ssh tunnel, it does use sudo:
sudo -u $LOCAL_USER ssh -f -N -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -o ConnectTimeout=1 -o ConnectionAttempts=1 -R $SSH_PORT:localhost:22 $SSH_USER$SSH_HOST
To /etc/netctl/eth0 I added string: ExecUpPost="/home/user/ssh-tunnel || true"
It does start correctly (process & connection exist), but I've got zombie of netctl.action in process list.
Offline
I gave up solving this problem and choose systemd's service method of spawning process and using Restart=always.
Offline