/lib/systemd/system/tuskar-api.service is in tuskar-api 0.4.18-1.
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 | [Unit]
Description=OpenStack Tuskar API
After=postgresql.service mysql.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=tuskar
Group=tuskar
WorkingDirectory=/var/lib/tuskar
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/tuskar /var/log/tuskar /var/lib/tuskar
ExecStartPre=/bin/chown tuskar:tuskar /var/lock/tuskar /var/log/tuskar /var/lib/tuskar
ExecStart=/etc/init.d/-api systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|