diff options
author | Ben Kohler <bkohler@gentoo.org> | 2018-06-27 06:53:36 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2018-06-27 06:54:28 -0500 |
commit | 55be5f6346a1ed03dd36c63207959aa83630ec58 (patch) | |
tree | de16397e0c242be09105d021a5fd91fad0fda905 /net-wireless | |
parent | dev-util/goland: Version bump to 2018.1.5 (diff) | |
download | gentoo-55be5f6346a1ed03dd36c63207959aa83630ec58.tar.gz gentoo-55be5f6346a1ed03dd36c63207959aa83630ec58.tar.bz2 gentoo-55be5f6346a1ed03dd36c63207959aa83630ec58.zip |
net-wireless/unifi: remove unneeded 'cd' from unifi.initd
Since start-stop-daemon is already passing --chdir, the cd before the
s-s-d call is unneeded.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/unifi/files/unifi.initd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-wireless/unifi/files/unifi.initd b/net-wireless/unifi/files/unifi.initd index 87c798b5ecd3..48fd9dd3b4a4 100644 --- a/net-wireless/unifi/files/unifi.initd +++ b/net-wireless/unifi/files/unifi.initd @@ -15,7 +15,7 @@ depend() { start() { ebegin "Starting UniFi Controller" - cd "${UNIFI_PATH}" && start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start + start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start eend $? } |