aboutsummaryrefslogtreecommitdiff
path: root/service/syncemail
diff options
context:
space:
mode:
Diffstat (limited to 'service/syncemail')
-rwxr-xr-xservice/syncemail20
1 files changed, 0 insertions, 20 deletions
diff --git a/service/syncemail b/service/syncemail
deleted file mode 100755
index a42e380..0000000
--- a/service/syncemail
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/home/cynerd/.local/sbin/user-service.sh
-# vim: ft=sh
-
-description="Mail synchronization tool"
-pidfile="/tmp/syncemail-$(id -u).pid"
-
-status() {
- [ -f $pidfile ] || return 1
- kill -0 "$(cat $pidfile)" || return 1
-}
-
-start() {
- ~/.local/sbin/syncemail
-}
-
-stop() {
- PID="$(cat $pidfile)"
- kill $PID 2>/dev/null
- while kill -0 $PID 2>/dev/null; do sleep 1; done
-}