]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Added a debian/neutron-server.service.in
authorThomas Goirand <zigo@debian.org>
Mon, 20 Apr 2015 21:14:44 +0000 (23:14 +0200)
committerThomas Goirand <zigo@debian.org>
Mon, 20 Apr 2015 21:14:44 +0000 (23:14 +0200)
Rewritten-From: ae576a64c7d425acee35867b8c0613288a078f84

xenial/debian/neutron-server.service.in [new file with mode: 0644]

diff --git a/xenial/debian/neutron-server.service.in b/xenial/debian/neutron-server.service.in
new file mode 100644 (file)
index 0000000..d6fee4d
--- /dev/null
@@ -0,0 +1,17 @@
+[Unit]
+Description=OpenStack Neutron Server
+After=mysql.service postgresql.service rabbitmq-server.service keystone.service
+
+[Service]
+User=neutron
+Group=neutron
+WorkingDirectory=/var/lib/neutron
+PermissionsStartOnly=true
+ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron
+ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/log/neutron /var/lib/neutron
+ExecStart=/etc/init.d/neutron-server systemd-start
+Restart=on-failure
+LimitNOFILE=65535
+
+[Install]
+WantedBy=multi-user.target