/lib/systemd/system/trove-api.service is in trove-api 1:5.0.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [Unit]
Description=Openstack Trove API
After=postgresql.service mysql.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=trove
Group=trove
Type=simple
WorkingDirectory=/var/lib/trove
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/trove /var/log/trove /var/lib/trove
ExecStartPre=/bin/chown trove:trove /var/lock/trove /var/log/trove /var/lib/trove
ExecStart=/etc/init.d/trove-api systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|