Update RPM-specs to 2013.2 version
[openstack-build/neutron-build.git] / rpm / SOURCES / neutron-metadata-agent.init
similarity index 89%
rename from rpm/SOURCES/quantum-metadata-agent.init
rename to rpm/SOURCES/neutron-metadata-agent.init
index e6f146f153ba529e6826bfb5bbfb0588e97ba148..0555fe862f535a6ae0731ae5ac42296abc5ced60 100644 (file)
@@ -1,14 +1,14 @@
 #!/bin/sh
 #
-# quantum-metadata-agent  OpenStack Quantum Metadata Agent
+# neutron-metadata-agent  OpenStack Neutron Metadata Agent
 #
 # chkconfig:   - 98 02
-# description: OpenStack Quantum Metadata Agent
+# description: OpenStack Neutron Metadata Agent
 ### END INIT INFO
 
 . /etc/rc.d/init.d/functions
 
-proj=quantum
+proj=neutron
 plugin=metadata-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