config/sysinv/cert-mon/files/cert-mon.service
Don Penney 56981db804 Create cert-mon logfile config
This commit defines the cert-mon logfile config.

In addition, the package directory is reorganized to have a files
subdirectory, and to drop the obsolete PKG-INFO file.

Change-Id: Iec2b39b3b080c823be7f00ee978baa223d05b041
Story: 2008251
Task: 41115
Signed-off-by: Don Penney <don.penney@windriver.com>
2020-10-16 13:50:20 -04:00

16 lines
388 B
Desktop File

[Unit]
Description=Certificate Monitor
After=network-online.target syslog-ng.service config.service sysinv-api.service
[Service]
Type=simple
RemainAfterExit=yes
User=root
Environment=OCF_ROOT=/usr/lib/ocf
ExecStart=/usr/lib/ocf/resource.d/platform/cert-mon start
ExecStop=/usr/lib/ocf/resource.d/platform/cert-mon stop
PIDFile=/var/run/cert-mon.pid
[Install]
WantedBy=multi-user.target