Summary: | net-mgmt/statsite: Add RC script | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Nathan <ndowens04> | ||||||||||||||||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||||
Severity: | Affects Only Me | CC: | tobik | ||||||||||||||||||
Priority: | --- | ||||||||||||||||||||
Version: | Latest | ||||||||||||||||||||
Hardware: | Any | ||||||||||||||||||||
OS: | Any | ||||||||||||||||||||
Attachments: |
|
Maintainer informed via mail Comment on attachment 196333 [details]
Added RC script
+# Set it to YES to enable doormand.
Should probably be changed to statsite ;)
+command_args="-u statsd -P ${pidfile} /usr/local/bin/statsite"
%%PREFIX/bin/statsite
+: ${statsite_config="%%PREFIX%%/etc/statsite.conf"}
This is never used anywhere.
Created attachment 196779 [details]
Add RC script
Comment on attachment 196779 [details]
Add RC script
It's identical to the first patch version.
Created attachment 196854 [details]
Add RC script
Tried requesting approval from maintainer, but seems doesn't have bugzilla account Comment on attachment 196854 [details]
Add RC script
statsite_config still doesn't do anything.
Created attachment 196857 [details]
Add RC script
Comment on attachment 196857 [details]
Add RC script
Why did you remove statsite_config? Why not pass it to statsite
command_args via -f ?
/usr/local/bin/statsite should be %%PREFIX%%/bin/statsite
(In reply to Tobias Kortkamp from comment #9) With it, it doesn't start, and seems even if i edit the conf file doesn't change ports when it starts. Seems it could be the conf file it's self; Haven't figured out what yet though, or possibly statsite itself having -f option issue Created attachment 196861 [details]
Add RC script
Created attachment 196862 [details]
Add RC script
Added revision, as needed to correct python cmd in conf sample and remove two lines that kept onestart/onestop from working
Seems to be working properly for me
Comment on attachment 196862 [details]
Add RC script
Patch is missing the rc script now.
Created attachment 196966 [details]
ADD RC
Created attachment 196967 [details]
Add RC
A commit references this bug: Author: tobik Date: Sun Sep 9 15:56:19 UTC 2018 New revision: 479292 URL: https://svnweb.freebsd.org/changeset/ports/479292 Log: net-mgmt/statsite: Add rc script PR: 230740 Submitted by: ndowens@yahoo.com Approved by: rbarabas@rbarabas.info (maintainer timeout, 3 weeks) Changes: head/net-mgmt/statsite/Makefile head/net-mgmt/statsite/files/ head/net-mgmt/statsite/files/statsite.in |
Created attachment 196333 [details] Added RC script Added RC script