/lib/systemd/system/zaqar-server.service is in zaqar-server 3.0.0-6.
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 21 22 | [Unit]
Description=OpenStack Queuing as a Service Server
After=mongodb.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=zaqar
Group=zaqar
Type=simple
WorkingDirectory=/var/lib/zaqar
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/zaqar /var/log/zaqar /var/lib/zaqar
ExecStartPre=/bin/chown zaqar:zaqar /var/lock/zaqar /var/lib/zaqar
ExecStartPre=/bin/chown zaqar:adm /var/log/zaqar
ExecStart=/etc/init.d/zaqar-server systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=65
[Install]
WantedBy=multi-user.target
|