[openrtm-commit:02609] r2992 - in trunk/OpenRTM-aist/utils/rtcd: . systemd

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 5月 16日 (火) 01:24:26 JST


Author: n-ando
Date: 2017-05-16 01:24:25 +0900 (Tue, 16 May 2017)
New Revision: 2992

Added:
   trunk/OpenRTM-aist/utils/rtcd/systemd/
   trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.conf
   trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.service
Log:
[compat,install] Systemd startup configuration file has been added.

Added: trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.conf
===================================================================
--- trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.conf	                        (rev 0)
+++ trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.conf	2017-05-15 16:24:25 UTC (rev 2992)
@@ -0,0 +1,7 @@
+manager.corba_servant: YES
+corba.nameservers: localhost
+manager.modules.abs_path_allowed: YES
+manager.modules.load_path: /usr/share/openrtm-1.2/components/c++/opencv-rtcs
+logger.file_name: /var/log/rtcd.log
+
+

Added: trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.service
===================================================================
--- trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.service	                        (rev 0)
+++ trunk/OpenRTM-aist/utils/rtcd/systemd/rtcd.service	2017-05-15 16:24:25 UTC (rev 2992)
@@ -0,0 +1,14 @@
+[Unit]
+Description=OpenRTM-aist master manager daemon
+After=network.target omniorb4-nameserver.service
+
+[Service]
+ExecStart=/usr/bin/rtcd -d -f /etc/rtcd/rtcd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+#KillMode=process
+#Restart=on-failure
+Restart=always
+Type=simple
+
+[Install]
+WantedBy=multi-user.target



More information about the openrtm-commit mailing list