/lib/systemd/system/congress-server.service is in congress-server 3.0.0+dfsg1-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 19 20 | [Unit]
Description=OpenStack Congress Server
After=postgresql.service mysql.service keystone.service rabbitmq-server.service ntp.service
[Service]
User=congress
Group=congress
Type=simple
WorkingDirectory=/var/lib/congress
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/congress /var/log/congress /var/lib/congress
ExecStartPre=/bin/chown congress:congress /var/lock/congress /var/log/congress /var/lib/congress
ExecStart=/etc/init.d/congress-server systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|