Skip to content

Use FreeBSD's setproctitle(3) to pass -procname similar to daemon(8)#308

Open
michael-o wants to merge 1 commit intoapache:masterfrom
michael-o:procname-freebsd
Open

Use FreeBSD's setproctitle(3) to pass -procname similar to daemon(8)#308
michael-o wants to merge 1 commit intoapache:masterfrom
michael-o:procname-freebsd

Conversation

@michael-o
Copy link
Member

@michael-o michael-o commented Feb 7, 2026

Default setup:

65296 root        52   0 12920  2556 S   0.0  0.0  0:00.00 jsvc: jsvc.exec[65297]
65297 ldacafe     52   0 32.7G  144M S   4.8  0.1  0:03.05 └─ /usr/local/bin/jsvc -java-home /usr/local/openjdk8 -server -user ldacafe -umask 0027 -pidfile /var/run/tomcat_scs.pid -wait 60 -outfile /usr/local/ld

with custom name:

66310 root        52   0 12920  2556 S   0.0  0.0  0:00.00 jsvc: tomcat_scs[66311]
66311 ldacafe     52   0 32.7G  166M S  22.4  0.1  0:03.70 └─ /usr/local/bin/jsvc -java-home /usr/local/openjdk8 -server -procname tomcat_scs -user ldacafe -umask 0027 -pidfile /var/run/tomcat_scs.pid -wait 60 -

daemon(8):

62874 matthias    20   0 12804  1136 S    0.0  0.0  0:01.23 └─ daemon: konaworker[62875]
62875 matthias    52   0 59748  6524 S    0.0  0.0  0:00.02    └─ /usr/local/bin/uv run --no-sync celery -A kona worker -l INFO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant