aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-08-03 12:04:06 +0200
committerKarel Kočí <karel.koci@nic.cz>2020-08-03 12:04:37 +0200
commit9cbfbbcf091ffad9b48e184f80f274e42a105747 (patch)
treeb357ca1e2e37641b60416169534bafc6c415cc8e
parent201ef22e5021611d20473ee76832d65c9615f8f5 (diff)
downloadmyconfigs-9cbfbbcf091ffad9b48e184f80f274e42a105747.tar.gz
myconfigs-9cbfbbcf091ffad9b48e184f80f274e42a105747.tar.bz2
myconfigs-9cbfbbcf091ffad9b48e184f80f274e42a105747.zip
profile: remove syncemail
-rw-r--r--profile2
-rwxr-xr-xservice/syncemail21
2 files changed, 0 insertions, 23 deletions
diff --git a/profile b/profile
index cf0cce9..9c6058f 100644
--- a/profile
+++ b/profile
@@ -11,8 +11,6 @@ export CT_LOCAL_TARBALLS_DIR="~/src/ct-ng"
# Start music player daemon
~/.service/mpd -q status || ~/.service/mpd start
-# Start email synchronization
-#~/.local/sbin/syncemail
# Start syncthing
~/.service/syncthing -q status || ~/.service/syncthing start
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
-}