1 |
commit: 55be5f6346a1ed03dd36c63207959aa83630ec58 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 27 11:53:36 2018 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 27 11:54:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55be5f63 |
7 |
|
8 |
net-wireless/unifi: remove unneeded 'cd' from unifi.initd |
9 |
|
10 |
Since start-stop-daemon is already passing --chdir, the cd before the |
11 |
s-s-d call is unneeded. |
12 |
|
13 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
14 |
|
15 |
net-wireless/unifi/files/unifi.initd | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/net-wireless/unifi/files/unifi.initd b/net-wireless/unifi/files/unifi.initd |
19 |
index 87c798b5ecd..48fd9dd3b4a 100644 |
20 |
--- a/net-wireless/unifi/files/unifi.initd |
21 |
+++ b/net-wireless/unifi/files/unifi.initd |
22 |
@@ -15,7 +15,7 @@ depend() { |
23 |
|
24 |
start() { |
25 |
ebegin "Starting UniFi Controller" |
26 |
- 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 |
27 |
+ start-stop-daemon --start --quiet --background --user ${UNIFI_USER} --group ${UNIFI_GROUP} --chdir ${UNIFI_PATH} --exec ${DAEMON} -- ${JAVA_OPTS} -jar ${ACE_LIB} start |
28 |
eend $? |
29 |
} |