From 88cea54b907d5a2b57b25c4ceefacf5d69bb2880 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 26 Feb 2024 12:21:24 -0500 Subject: use ra-multiplex --- ra-multiplex/.config/systemd/user/ra-multiplex.service | 6 ++++++ ra-multiplex/Makefile | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 ra-multiplex/.config/systemd/user/ra-multiplex.service create mode 100644 ra-multiplex/Makefile (limited to 'ra-multiplex') diff --git a/ra-multiplex/.config/systemd/user/ra-multiplex.service b/ra-multiplex/.config/systemd/user/ra-multiplex.service new file mode 100644 index 0000000..cb62f0b --- /dev/null +++ b/ra-multiplex/.config/systemd/user/ra-multiplex.service @@ -0,0 +1,6 @@ +[Service] +ExecStart=%h/.cargo/bin/ra-multiplex-server +Restart=always + +[Install] +WantedBy=default.target diff --git a/ra-multiplex/Makefile b/ra-multiplex/Makefile new file mode 100644 index 0000000..275b415 --- /dev/null +++ b/ra-multiplex/Makefile @@ -0,0 +1,9 @@ +include ../Makefile.include + +install: + @systemctl --user enable ra-multiplex + @systemctl --user start ra-multiplex + +uninstall: + @systemctl --user stop ra-multiplex + @systemctl --user disable ra-multiplex -- cgit v1.2.3-54-g00ecf