/lib/systemd/system/glare-api.service is in glare-api 0.4.1-3ubuntu1.
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 Artifact Repository API
After=postgresql.service mysql.service keystone.service ntp.service rabbitmq-server.service
[Service]
User=glare
Group=glare
Type=simple
WorkingDirectory=/var/lib/glare
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/glare /var/log/glare /var/lib/glare
ExecStartPre=/bin/chown glare:glare /var/lock/glare /var/lib/glare
ExecStartPre=/bin/chown glare:adm /var/log/glare
ExecStart=/etc/init.d/glare-api systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|