summaryrefslogtreecommitdiffstats
path: root/mbsyncloop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbsyncloop/Makefile')
-rw-r--r--mbsyncloop/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mbsyncloop/Makefile b/mbsyncloop/Makefile
index 5997d23..b095cbd 100644
--- a/mbsyncloop/Makefile
+++ b/mbsyncloop/Makefile
@@ -1,4 +1,9 @@
include ../Makefile.include
-install: $(HOME)/.services/enabled/mbsyncloop
- @mkdir -p $(HOME)/.log/mbsyncloop
+install:
+ @systemctl --user enable mbsyncloop
+ @systemctl --user start mbsyncloop
+
+uninstall:
+ @systemctl --user stop mbsyncloop
+ @systemctl --user disable mbsyncloop