diff options
author | Karel Kočí <cynerd@email.cz> | 2020-08-11 22:27:37 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-08-11 22:27:37 +0200 |
commit | 69fc8d40d9a82ce675f46c2ba0dc754cbc99fe2b (patch) | |
tree | 9f9a0eb401a4bc397bd59d65e20d96484f70d8bd /service/syncthing | |
parent | d3ec945ad4a2c610b358484629bb20e1be69b112 (diff) | |
download | myconfigs-69fc8d40d9a82ce675f46c2ba0dc754cbc99fe2b.tar.gz myconfigs-69fc8d40d9a82ce675f46c2ba0dc754cbc99fe2b.tar.bz2 myconfigs-69fc8d40d9a82ce675f46c2ba0dc754cbc99fe2b.zip |
Remove services
They are no longer required anyway
Diffstat (limited to 'service/syncthing')
-rwxr-xr-x | service/syncthing | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/service/syncthing b/service/syncthing deleted file mode 100755 index 8d0e009..0000000 --- a/service/syncthing +++ /dev/null @@ -1,19 +0,0 @@ -#!/home/cynerd/.local/sbin/user-service.sh -# vim: ft=sh - -description="Syncthing is an open, trustworthy and decentralized cloud storage system" -pidfile="/tmp/syncthing-$USER.pid" -logfile="/var/log/syncthing-$USER.log" - -status() { - [ -f $pidfile ] || return 1 - kill -0 "$(cat $pidfile)" || return 1 -} - -start() { - start-stop-daemon -S -bmp $pidfile -1 $logfile -2 $logfile -- syncthing -no-browser -} - -stop() { - start-stop-daemon -K -p $pidfile -x syncthing -} |