diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-26 15:48:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-26 15:48:02 +0000 |
commit | 38b7258d086dd5e263c3bbe3880c8c956676bc71 (patch) | |
tree | 6fce284d5bfddaf597a490ac66069d16c6a485db /net-p2p/resilio-sync/files/resilio-sync.initd | |
parent | 0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 (diff) |
gentoo resync : 25.01.2018
Diffstat (limited to 'net-p2p/resilio-sync/files/resilio-sync.initd')
-rw-r--r-- | net-p2p/resilio-sync/files/resilio-sync.initd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/resilio-sync/files/resilio-sync.initd b/net-p2p/resilio-sync/files/resilio-sync.initd new file mode 100644 index 000000000000..b9f0380a773a --- /dev/null +++ b/net-p2p/resilio-sync/files/resilio-sync.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/rslsync" +name="Resilio Sync" +description="Resilio Sync" +command_user="${USER:-rslsync}::${GROUP:-rslsync}" +pidfile="/run/resilio-sync/resilio-sync.pid" +config=${CONFIG:-/etc/resilio-sync/config.json} +command_args="--config $config ${OPTS}" +start_stop_daemon_args="-q" +retry="10" + +depend() { + need net + provide resilio-sync +} |