diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-23 01:55:42 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-23 04:22:39 -0500 |
commit | c337452016b530763caedb3e5be225bf4f4d4d2a (patch) | |
tree | 4b8c2b0d8d534c3957550fa23524aa8ef48ce3fd /mbsyncloop/Makefile | |
parent | 4cb4b413185affc0ef7460d09529f464dce081bb (diff) | |
download | conf-c337452016b530763caedb3e5be225bf4f4d4d2a.tar.gz conf-c337452016b530763caedb3e5be225bf4f4d4d2a.zip |
convert mbsyncloop to systemd
Diffstat (limited to 'mbsyncloop/Makefile')
-rw-r--r-- | mbsyncloop/Makefile | 9 |
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 |