Update RPM-specs to 2013.2 version
[openstack-build/neutron-build.git] / rpm / SOURCES / neutron-dhcp-agent.init
similarity index 89%
rename from rpm/SOURCES/quantum-dhcp-agent.init
rename to rpm/SOURCES/neutron-dhcp-agent.init
index 1344a989ebcc87056ccf89ff0845cfde0fa8dba8..e7ebd96e552752ca293ee48489531dc596dbea4a 100644 (file)
@@ -1,14 +1,14 @@
 #!/bin/sh
 #
-# quantum-dhcp-agent  OpenStack Quantum DHCP Agent
+# neutron-dhcp-agent  OpenStack Neutron DHCP Agent
 #
 # chkconfig:   - 98 02
-# description: OpenStack Quantum DHCP Agent
+# description: OpenStack Neutron DHCP Agent
 ### END INIT INFO
 
 . /etc/rc.d/init.d/functions
 
-proj=quantum
+proj=neutron
 plugin=dhcp-agent
 prog=$proj-$plugin
 exec="/usr/bin/$prog"
@@ -23,7 +23,7 @@ start() {
     [ -x $exec ] || exit 5
     [ -f $config ] || exit 6
     echo -n $"Starting $prog: "
-    daemon --user quantum --pidfile $pidfile "$exec --log-file /var/log/$proj/$plugin.log --config-file /etc/$proj/$proj.conf --config-file $config &>/dev/null & echo \$! > $pidfile"
+    daemon --user neutron --pidfile $pidfile "$exec --log-file /var/log/$proj/$plugin.log --config-file /etc/$proj/$proj.conf --config-file $config &>/dev/null & echo \$! > $pidfile"
     retval=$?
     echo
     [ $retval -eq 0 ] && touch $lockfile