diff options
Diffstat (limited to 'ra-multiplex')
-rw-r--r-- | ra-multiplex/.config/systemd/user/ra-multiplex.service | 6 | ||||
-rw-r--r-- | ra-multiplex/Makefile | 9 |
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 |