From 9cbfbbcf091ffad9b48e184f80f274e42a105747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Aug 2020 12:04:06 +0200 Subject: profile: remove syncemail --- service/syncemail | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 service/syncemail (limited to 'service') diff --git a/service/syncemail b/service/syncemail deleted file mode 100755 index 1346ddf..0000000 --- a/service/syncemail +++ /dev/null @@ -1,21 +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() { - true - #~/.local/sbin/syncemail -} - -stop() { - PID="$(cat $pidfile)" - kill $PID 2>/dev/null - while kill -0 $PID 2>/dev/null; do sleep 1; done -} -- cgit v1.2.3