@@ -12,7 +12,17 @@ Copyright: . | |||||
(c) 2021 JF Possibilities, Inc. All rights reserved. | (c) 2021 JF Possibilities, Inc. All rights reserved. | ||||
Origin: JFP | Origin: JFP | ||||
Packaged-For: JF Possibilities, Inc. | Packaged-For: JF Possibilities, Inc. | ||||
changelog: | |||||
changelog: | |||||
(0.4-3j) unstable; urgency=low | |||||
. | |||||
** This is an alpha release ** | |||||
. | |||||
* *FIX* mounting on sub URL of a site via FastCGI | |||||
* Set UMASK in trafficctrl init script for better default perms. | |||||
* Improved doc remarks in "sample.js". | |||||
. | |||||
-- Jon Foster <jon@jfpossibilities.com> Tue, 14 Sep 2021 13:35:22 -0700 | |||||
. | |||||
(0.4-2j) unstable; urgency=low | (0.4-2j) unstable; urgency=low | ||||
. | . | ||||
** This is an alpha release ** | ** This is an alpha release ** | ||||
@@ -1,8 +1,8 @@ | |||||
#!/bin/sh | #!/bin/sh | ||||
### BEGIN INIT INFO | ### BEGIN INIT INFO | ||||
# Provides: trafficmon | # Provides: trafficmon | ||||
# Required-Start: $remote_fs | |||||
# Required-Stop: $remote_fs | |||||
# Required-Start: $local_fs | |||||
# Required-Stop: $local_fs | |||||
# X-Start-Before: $syslog | # X-Start-Before: $syslog | ||||
# X-Stop-After: $syslog | # X-Stop-After: $syslog | ||||
# Default-Start: 2 3 4 5 | # Default-Start: 2 3 4 5 | ||||
@@ -52,7 +52,7 @@ CTRL() { | |||||
do_start() { | do_start() { | ||||
echo -n "Starting Traffic Monitor: " | echo -n "Starting Traffic Monitor: " | ||||
if CTRL --start --oknodo -- -c "$CONF" -b -i "$PID" -b -p "$SOCK"; then | |||||
if CTRL --start --oknodo -- -c "$CONF" -b -i "$PID" -p "$SOCK"; then | |||||
echo "OK" | echo "OK" | ||||
else | else | ||||
echo "FAIL" | echo "FAIL" | ||||