Haim Daniel
8ef92ba555
init.sh: double start considers success
...
Signed-off-by: Haim Daniel <haimdaniel@gmail.com>
2015-05-11 20:27:38 +03:00
ben hockey
4e6c384f82
ensure directory of pidfile exists after a restart
2015-04-15 16:47:20 -05:00
Jason Wilder
5484b0e9ea
Allow passing command-line options to init script
...
Command-line options can be set in /etc/default/influxdb using
the INFLUXD_OPTS env var.
2015-04-08 20:49:58 -06:00
Ben Johnson
9e134d5ee9
Update init script to append STDERR to log.
2015-04-03 14:27:27 -06:00
Philip O'Toole
9b4b5dd40a
Fix up paths for run and data
2015-04-03 12:52:37 -07:00
Philip O'Toole
8970efeac2
Direct STDERR and STDOUR and remove obsolete 'run'
...
This code path was not modified as needed during recent init.d script
work.
2015-03-29 16:37:31 -07:00
Philip O'Toole
2305b365fe
Allow STDOUT and STDERR to be set
2015-03-25 15:54:25 -07:00
Philip O'Toole
1f3b7c66a0
Allow init.d script to get influxd version
2015-03-23 23:42:58 -07:00
Philip O'Toole
1ce0826286
Set execute bit on init.sh script
2015-02-11 08:24:44 -08:00
Philip O'Toole
81fe1912a8
Use start-stop-daemon to launch, if available
...
This allows changing to the influxdb user if necessary.
2015-01-29 13:20:38 -08:00
Philip O'Toole
a2b09ca966
Start influxd with up-to-date launch params
...
Simplify for now, and more complexitity can come later if needed.
2015-01-26 18:45:33 -08:00
Philip O'Toole
48fdb239c8
Rename config file during packaging
2015-01-26 17:33:14 -08:00
Philip O'Toole
abe89e1552
init.d script does not support 'reload'
2015-01-22 15:02:20 -08:00
Philip O'Toole
71fb61f701
Add first version of init.d script
2015-01-22 14:29:11 -08:00
Ben Johnson
7db0e15799
Refactoring into root.
2014-10-21 23:32:19 -06:00
Spencer Owen
3f659f43eb
Changes init script exit code to conform to lab standards
2014-10-10 12:16:12 -06:00
John Shahid
f2a85f2b03
Set the ulimit in the init script with a way to override the limit
...
Fix #916
2014-10-07 13:27:24 -04:00
John Shahid
86a28be428
Fix #670 . Redirect output to /dev/null
2014-06-21 16:18:15 -04:00
Dieter Plaetinck
fda4194ac0
follow symlinks
...
for people that have a symlink, such as /opt/influxdb/shared/data as a link to a datadir on a different volume, this makes sure the ownership is reset there too.
otherwise you can get influxdb to panic due to incorrect permissions (happened to me)
2014-06-16 14:41:27 -04:00
Martin Englund
5e1411a1f3
extract init config file into a variable
2014-06-05 11:18:22 -07:00
John Shahid
d40ed03272
No redirect to log.txt and log instead of writing to stderr
2014-05-30 18:13:17 -04:00
John Shahid
af98ecaf27
Fix #529 . Don't run influxdb as root
2014-05-20 14:22:26 -04:00
John Shahid
9c8204b64d
Fix #460 . Don't start influxdb automatically after installing from pkg
2014-05-20 14:22:25 -04:00
John Shahid
bcb0da5f54
fix #141 . Include the benchmark binary in the package
2014-01-09 18:01:05 -05:00
John Shahid
8d75e0dfe6
fix the name printed in the startup script
2013-12-12 16:36:25 -05:00
John Shahid
69544aa6bf
fix #40 . Replace json with toml for configuration
2013-12-11 14:13:42 -05:00
John Shahid
74e6129865
fix #23 . init scripts were broken for redhat-based ditros.
2013-11-07 17:10:03 -05:00
John Shahid
1a445582a9
make pidfile optional.
2013-10-26 13:27:17 -04:00
John Shahid
03361334ff
add some convenience scripts.
2013-10-26 13:14:57 -04:00