Made config file more consistent with default values

This commit is contained in:
Maxim Biro 2014-05-18 19:38:45 -04:00
parent fe1694fa69
commit 286d8d9661
3 changed files with 4 additions and 4 deletions

View File

@ -6,13 +6,13 @@ port = 33445
// A key file is like a password, so keep it where no one can read it.
// The daemon should have permission to read/write to it.
// Remember to replace the provided example with your own path.
keys_file_path = "/home/tom/.tox_bootstrap_daemon/keys"
keys_file_path = "/home/tom/.tox_bootstrap_daemon/.tox_bootstrap_daemon.keys"
// The PID file written to by daemon.
// Make sure that the user who runs the daemon has permissions to write to the
// PID file.
// Remember to replace the provided example with your own path.
pid_file_path = "/home/tom/.tox_bootstrap_daemon/pid"
pid_file_path = "/home/tom/.tox_bootstrap_daemon/.tox_bootstrap_daemon.pid"
// Enable IPv6.
enable_ipv6 = false

View File

@ -53,7 +53,7 @@
#define DAEMON_NAME "tox_bootstrap_daemon"
#define DAEMON_VERSION_NUMBER 2014051700UL // yyyymmmddvv format: yyyy year, mm month, dd day, vv version change count for that day
#define DAEMON_VERSION_NUMBER 2014051800UL // yyyymmmddvv format: yyyy year, mm month, dd day, vv version change count for that day
#define SLEEP_TIME_MILLISECONDS 30
#define sleep usleep(1000*SLEEP_TIME_MILLISECONDS)

View File

@ -18,7 +18,7 @@ USER=tom
CFG=/home/$USER/.$NAME/conf
DAEMON=/home/$USER/.$NAME/$NAME
DAEMON_ARGS="$CFG"
PIDFILE=/home/$USER/.$NAME/pid
PIDFILE=/home/$USER/.$NAME/."$NAME".pid
SCRIPTNAME=/etc/init.d/$NAME
# Exit if the package is not installed