20 lines
587 B
SYSTEMD
20 lines
587 B
SYSTEMD
|
[Unit]
|
||
|
Description=Openstack Neutron Open vSwitch Plugin Agent
|
||
|
After=mysql.service postgresql.service rabbitmq-server.service keystone.service
|
||
|
Requires=neutron-ovs-cleanup.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-openvswitch-agent systemd-start
|
||
|
Restart=on-failure
|
||
|
LimitNOFILE=65535
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|