Allar/linux-perforce-installer

Running p4d -d through daemon redundant?

rohanliston opened this issue · 2 comments

Doesn't running p4d -d through daemon on this line create an extraneous process that immediately forks off another one?

Currently:

> ps aux | grep p4d
perforce  7213  0.0  0.0  20024   400 ?        S    21:16   0:00 daemon -u perforce -- p4d -d
perforce  7214  0.0  0.0      0     0 ?        Z    21:16   0:00 [p4d] <defunct>
perforce  7215  0.0  0.1  23004  1088 ?        S    21:16   0:00 p4d -d

After changing the value of $p4start to just p4d:

> ps aux | grep p4d
perforce  7162  0.0  0.0  20024   400 ?        S    21:14   0:00 daemon -u perforce -- p4d
perforce  7163  0.0  0.2  22956  2356 ?        S    21:14   0:00 p4d

Happy to pull request if that's the case.

Allar commented

I really gotta fix my notifcations.

Please make a pull request if everything is still good. You most likely know more than me about this.

Apparently I need to fix my notifications as well, only just noticed this. Will open a PR when I get a chance.