Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW PORT]: sysutils/alloy #252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zalegrala
Copy link

@zalegrala zalegrala commented Apr 24, 2024

  • Tested with poudriere
  • Runs on 14.0

command="/usr/sbin/daemon"
procname="%%PREFIX%%/bin/alloy"
run="run /usr/local/etc/alloy.flow"
command_args="-S -R 3 -T ${name} -P ${pidfile} /usr/bin/env ${procname} ${run} \
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works but I would like guidance on the right combination of supervisor and restart settings. It seems that if we write the supervisor pid with -P the status of the daemon cannot be determined with a service alloy status. Additionally, if we only write the child pid with -p, then we cannot stop the daemon, since daemon will restart it. What is the right approach here?

DISTVERSIONPREFIX=v
CATEGORIES= sysutils

MAINTAINER= contact@zach.fi
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to be the contact, but I have no interest in maintaining freebsd accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant