From 5f2105b1fcdf11e180897502de2fdc7c01ed6452 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 5 Nov 2019 11:25:16 +1030 Subject: openbmc: Add systemd service for croserver The upstream application does not ship a systemd service file so we include it in meta-openpower. The service does not have an 'install' section as it should be started on demand by the cronus user. This may change in the future if OpenBMC gains the ability to put itself in a debug state, where starting the croserver will be part of that process. (From meta-openpower rev: c6c86e4602e7d8734e771ee4bf2fb1049acbfb75) Change-Id: I088ae4acfb7a8f039fd9342ba2314255ec7987f1 Signed-off-by: Joel Stanley Signed-off-by: Brad Bishop --- meta-openpower/recipes-bsp/ecmd/files/croserver.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-openpower/recipes-bsp/ecmd/files/croserver.service (limited to 'meta-openpower/recipes-bsp/ecmd/files') diff --git a/meta-openpower/recipes-bsp/ecmd/files/croserver.service b/meta-openpower/recipes-bsp/ecmd/files/croserver.service new file mode 100644 index 000000000..38d1fd2ff --- /dev/null +++ b/meta-openpower/recipes-bsp/ecmd/files/croserver.service @@ -0,0 +1,12 @@ +[Unit] +Description=Cronus Server +Documentation=https://github.com/open-power/eCMD/ +After=network.service + +[Service] +Type=simple +ExecStart=/usr/bin/croserver +Restart=on-failure +ProtectHome=yes +ProtectSystem=full +RestrictAddressFamilies=AF_UNIX -- cgit v1.2.3