Search Results

Search: Posts Made By: vincegata
3,983
Posted By vincegata
That solved it, thank you.
That solved it, thank you.
3,983
Posted By vincegata
I need to save a pid of a child started with $: su <user> -c “nohup …”
Hello,

I want to save pid of a child process but I get empty file.


su myuser -c "nohup ./mydaemon.sh >/dev/null 2>&1 & print $! > mydaemon.pid"


This one works:


nohup ./mydaemon.sh...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy