Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-google-compute-engine/files/google_instance_setup.in
- This file was added.
#!/bin/sh | |||||
julian: will these ever be run independently?
looks like you could combine several of these rc files… | |||||
Not Done Inline ActionsProbably so, however seeing as I have little knowledge on this software, better for the maintainer to answer, I suspect they will follow this differential as eager as they have been to get this in ports tree. If major changes are going to occur I'm going to pass this differential to them, assuming they are willing to use the tool. ultima: Probably so, however seeing as I have little knowledge on this software, better for the… | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: google_instance_setup | |||||
# BEFORE: LOGIN | |||||
# REQUIRE: NETWORKING syslogd | |||||
# | |||||
# google_instance_setup_enable (bool): Set to NO by default. | |||||
# Set it to YES to enable google_instance_setup. | |||||
# | |||||
. /etc/rc.subr | |||||
name="google_instance_setup" | |||||
rcvar="google_instance_setup_enable" | |||||
load_rc_config "${name}" | |||||
: ${google_instance_setup_enable:="YES"} | |||||
Not Done Inline ActionsShould default to "NO" matthew: Should default to "NO" | |||||
Not Done Inline Actionslooks like I missed one. ultima: looks like I missed one. | |||||
command_interpreter="%%PYTHON_CMD%%" | |||||
command=%%PREFIX%%/bin/${name} | |||||
pidfile=/var/run/${name}.pid | |||||
run_rc_command "$1" |
will these ever be run independently?
looks like you could combine several of these rc files into a single google_compute_support rc file