I am trying to get forgejo running as a service in a jail. When I manually start forgejo as the git user it runs as expected, however attempting to get it to run with the included rc file provided by the ports package it errors out.
Forgejo Port
rc.d script
When I start forgejo manually it...
I recently got into using kevent. Reading the manpage (as of FreeBSD 14.0), I'm left with a lot of questions and I didn't find better documentation yet.
In particular, the following questions remain unclear to me:
What is the purpose of EV_ENABLE and EV_DISABLE (in contrast to deleting an...
Hi All,
In my script, I am trying to get the PID ID of the following process:
30679 0 SJ 0:01.47 node: homebridge (node).
I have tried pidof, pgrep and ps but I can't find a way to get the correct PID.
there are multiple node processes, when i use pidof node i get more than 1 pid.
Does...
I was wondering if anyone could look at my code and be able to help identify what I'm doing wrong? It gets the current working directory of a given process id using libprocstat. I normally does work and can get the cwd of a pid just fine, but that's assmuing I don't do the specific thing in my...
I have an nginx server configured to run the master service as a non-root user and it runs fine when I manually invoke it by running nginx -c /path/to/nginx.conf as the user 'nginx' but it doesn't work from my rc.conf script.
I've tried to automate startup by writing it into an rc.conf script...
Hello,
I did a simple search for this and did not see an answer:
Is there a simple way to monitor the instantaneous bandwidth usage of a process (or a process tree) based on PID?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.