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