[PATCH] ouroboros: Rename service to ouroboros

  • From: Dimitri Staessens <dimitri@ouroboros.rocks>
  • To: ouroboros@xxxxxxxxxxxxx
  • Date: Mon, 9 Mar 2020 19:23:02 +0100

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 <dimitri@ouroboros.rocks>
---
 CMakeLists.txt                          | 6 +++---
 doc/man/ouroboros.8                     | 4 ++--
 irmd.service.in => ouroboros.service.in | 0
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename irmd.service.in => ouroboros.service.in (100%)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 130e3eb..f243cf4 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 f9aa745..0958f61 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/ouroboros.service.in
similarity index 100%
rename from irmd.service.in
rename to ouroboros.service.in
-- 
2.25.1


Other related posts:

  • » [PATCH] ouroboros: Rename service to ouroboros - Dimitri Staessens