summaryrefslogtreecommitdiffstats
path: root/ra-multiplex
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-26 12:21:24 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-26 12:21:24 -0500
commit88cea54b907d5a2b57b25c4ceefacf5d69bb2880 (patch)
treee9acaca68734ce930923b6d1deedcf418f949619 /ra-multiplex
parent65373f5873a66737321522b27edc298c3f25fb4e (diff)
downloadconf-88cea54b907d5a2b57b25c4ceefacf5d69bb2880.tar.gz
conf-88cea54b907d5a2b57b25c4ceefacf5d69bb2880.zip
use ra-multiplex
Diffstat (limited to 'ra-multiplex')
-rw-r--r--ra-multiplex/.config/systemd/user/ra-multiplex.service6
-rw-r--r--ra-multiplex/Makefile9
2 files changed, 15 insertions, 0 deletions
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