From 8796a612f0600fc973aa908b84ded837f3470512 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 9 Mar 2020 19:23:02 +0100 Subject: ouroboros: Rename service to ouroboros The service was called "irmd", but it makes a bit more sense to give it the system name. Only the service name is changed, the irmd binary remains irmd. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 6 +++--- doc/man/ouroboros.8 | 4 ++-- irmd.service.in | 9 --------- ouroboros.service.in | 9 +++++++++ 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 irmd.service.in create mode 100644 ouroboros.service.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 130e3eb6..f243cf4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,9 +125,9 @@ if (SYSTEMD_FOUND) endif () if (NOT ${SYSTEMD_UNITDIR} STREQUAL "") message(STATUS "Installing systemd service in: ${SYSTEMD_UNITDIR}") - configure_file("${CMAKE_CURRENT_SOURCE_DIR}/irmd.service.in" - "${CMAKE_CURRENT_BINARY_DIR}/irmd.service" @ONLY) - install(FILES "${CMAKE_CURRENT_BINARY_DIR}/irmd.service" + configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ouroboros.service.in" + "${CMAKE_CURRENT_BINARY_DIR}/ouroboros.service" @ONLY) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ouroboros.service" DESTINATION "${SYSTEMD_UNITDIR}") endif () endif () diff --git a/doc/man/ouroboros.8 b/doc/man/ouroboros.8 index 45705053..88efd15b 100644 --- a/doc/man/ouroboros.8 +++ b/doc/man/ouroboros.8 @@ -36,9 +36,9 @@ superuser): $ irmd -or, if your system uses systemd, the IRM can be started as a service: +or, if your system uses systemd, Ouroboros can be started as a service: -$ systemctl start irmd +$ systemctl start ouroboros When started from the command line, the IRM has the following options: .PP diff --git a/irmd.service.in b/irmd.service.in deleted file mode 100644 index e6dc006e..00000000 --- a/irmd.service.in +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Ouroboros IPC Resource Manager Daemon - -[Service] -ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/irmd -User=root - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/ouroboros.service.in b/ouroboros.service.in new file mode 100644 index 00000000..e6dc006e --- /dev/null +++ b/ouroboros.service.in @@ -0,0 +1,9 @@ +[Unit] +Description=Ouroboros IPC Resource Manager Daemon + +[Service] +ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/irmd +User=root + +[Install] +WantedBy=multi-user.target \ No newline at end of file -- cgit v1.2.3