From 1a91a7fca8650167c267589bf4324b9ed718a3bc Mon Sep 17 00:00:00 2001 From: Rooholla-KhorramBakht Date: Mon, 12 Feb 2024 10:12:34 +0800 Subject: [PATCH] docker makefile bug fixed --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc95216..3a7a43f 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,14 @@ docker_dock_install: docker_dock_uninstall: @systemctl disable go2py-dock-hw-nodes.service @systemctl stop go2py-dock-hw-nodes.service - @rm /etc/systemd/system/go2py-dock-hw-nodes.service \ No newline at end of file + @rm /etc/systemd/system/go2py-dock-hw-nodes.service + +docker_robot_install: + @cp deploy/scripts/go2py-robot-hw-nodes.service /etc/systemd/system/ + @systemctl enable go2py-robot-hw-nodes.service + @systemctl start go2py-robot-hw-nodes.service + +docker_robot_uninstall: + @systemctl disable go2py-robot-hw-nodes.service + @systemctl stop go2py-robot-hw-nodes.service + @rm /etc/systemd/system/go2py-robot-hw-nodes.service \ No newline at end of file