summaryrefslogtreecommitdiff
path: root/emulators/py-nova/files/nova-cells.in
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/py-nova/files/nova-cells.in')
-rw-r--r--emulators/py-nova/files/nova-cells.in53
1 files changed, 0 insertions, 53 deletions
diff --git a/emulators/py-nova/files/nova-cells.in b/emulators/py-nova/files/nova-cells.in
deleted file mode 100644
index 0e7ecd4da772..000000000000
--- a/emulators/py-nova/files/nova-cells.in
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: nova_cells
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable nova_cells:
-#
-# nova_cells_enable="YES"
-#
-# nova_cells_enable (bool):
-# Set it to "YES" to enable nova_cells.
-# Default is "NO".
-#
-# nova_cells_logdir (str):
-# Set it to chagge log directory
-# Default is "/var/log/nova"
-#
-# nova_cells_args (str):
-# Set it to change command line arguments.
-# Default is "--log-file ${nova_cells_logdir}/nova-cells.log"
-#
-
-. /etc/rc.subr
-
-name=nova_cells
-rcvar=nova_cells_enable
-
-PATH=%%PREFIX%%/bin:%%PREFIX%%/sbin:$PATH
-
-pidfile="/var/run/nova-cells.pid"
-procname="%%PREFIX%%/bin/python2.7"
-
-start_precmd=nova_precmd
-
-load_rc_config $name
-
-: ${nova_cells_enable:="NO"}
-: ${nova_cells_logdir:="/var/log/nova"}
-: ${nova_cells_args:="--log-file ${nova_cells_logdir}/nova-cells.log"}
-
-command="/usr/sbin/daemon"
-command_args="-f -p ${pidfile} nova-cells ${nova_cells_args}"
-
-nova_precmd() {
- mkdir -p ${nova_cells_logdir}
-}
-
-run_rc_command "$1"