summaryrefslogtreecommitdiffstats
path: root/xss-lock/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-23 02:23:15 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-23 02:23:15 -0500
commit8a0e22d68add0ac8f6c488e73c22cf66fb78f12b (patch)
treea7b7dcc8444d7eec8d6fe915267dc97d02f3c113 /xss-lock/Makefile
parent8a101b9fddfa5f1ddaa34aa66c05155a46669f36 (diff)
downloadconf-8a0e22d68add0ac8f6c488e73c22cf66fb78f12b.tar.gz
conf-8a0e22d68add0ac8f6c488e73c22cf66fb78f12b.zip
convert xss-lock to systemd
Diffstat (limited to 'xss-lock/Makefile')
-rw-r--r--xss-lock/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/xss-lock/Makefile b/xss-lock/Makefile
index 6952633..ae8dbc8 100644
--- a/xss-lock/Makefile
+++ b/xss-lock/Makefile
@@ -1,4 +1,9 @@
include ../Makefile.include
-install: $(HOME)/.services/enabled/xss-lock
- @mkdir -p $(HOME)/.log/xss-lock
+install:
+ @systemctl --user enable xss-lock
+ @systemctl --user start xss-lock
+
+uninstall:
+ @systemctl --user stop xss-lock
+ @systemctl --user disable xss-lock