FreeBSD Bugzilla – Attachment 196857 Details for
Bug 230740
net-mgmt/statsite: Add RC script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add RC script
statsite (text/plain), 1.54 KB, created by
Nathan
on 2018-09-04 14:06:59 UTC
(
hide
)
Description:
Add RC script
Filename:
MIME Type:
Creator:
Nathan
Created:
2018-09-04 14:06:59 UTC
Size:
1.54 KB
patch
obsolete
>Index: net-mgmt/statsite/Makefile >=================================================================== >--- net-mgmt/statsite/Makefile (revision 478870) >+++ net-mgmt/statsite/Makefile (working copy) >@@ -3,6 +3,7 @@ > PORTNAME= statsite > PORTVERSION= 0.8.0 > DISTVERSIONPREFIX= v >+PORTREVISION= 1 > CATEGORIES= net-mgmt > > MAINTAINER= rbarabas@rbarabas.info >@@ -20,6 +21,7 @@ > > USERS= statsd > GROUPS= statsd >+USE_RC_SUBR= statsite > > OPTIONS_DEFINE= DOCS > >Index: net-mgmt/statsite/files/statsite.in >=================================================================== >--- net-mgmt/statsite/files/statsite.in (nonexistent) >+++ net-mgmt/statsite/files/statsite.in (working copy) >@@ -0,0 +1,31 @@ >+#!/bin/sh >+ >+# $FreeBSD$ >+# >+# PROVIDE: statsite >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# statsite_enable (bool): Set to NO by default. >+# Set it to YES to enable statsite. >+# statsite_config (path): Set to %%PREFIX%%/etc/statsite.conf >+# by default. >+ >+. /etc/rc.subr >+ >+name=statsite >+rcvar=statsite_enable >+ >+load_rc_config $name >+ >+: ${statsite_enable:="NO"} >+ >+pidfile=/var/run/${name}.pid >+command="/usr/sbin/daemon" >+ >+command_args="-u statsd -P ${pidfile} /usr/local/bin/statsite" >+ >+run_rc_command "$1" > >Property changes on: net-mgmt/statsite/files/statsite.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230740
:
196333
|
196779
|
196854
|
196857
|
196861
|
196862
|
196966
|
196967