summaryrefslogtreecommitdiffstats
path: root/mbsyncloop/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-23 01:55:42 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-23 04:22:39 -0500
commitc337452016b530763caedb3e5be225bf4f4d4d2a (patch)
tree4b8c2b0d8d534c3957550fa23524aa8ef48ce3fd /mbsyncloop/Makefile
parent4cb4b413185affc0ef7460d09529f464dce081bb (diff)
downloadconf-c337452016b530763caedb3e5be225bf4f4d4d2a.tar.gz
conf-c337452016b530763caedb3e5be225bf4f4d4d2a.zip
convert mbsyncloop to systemd
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