Skip to content

Commit 502f6d3

Browse files
committed
Version 0.9.66
- Switched `control.sh` script over to using bash instead of sh. - Added check for nvm to work during boot, when node is not installed in the usual location. - Fixes #780
1 parent c7552bb commit 502f6d3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bin/control.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
#
33
# Control script designed to allow an easy command line interface
44
# to controlling any binary. Written by Marc Slemko, 1997/08/23
@@ -37,6 +37,9 @@ PIDFILE=$HOMEDIR/logs/cronicled.pid
3737
# -------------------- --------------------
3838
# |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
3939

40+
# Support for nvm and it's bizarre path system
41+
[ ! -x "$(which node)" ] && [ -s ~/.nvm/nvm.sh ] && \. ~/.nvm/nvm.sh
42+
4043
ERROR=0
4144
ARGV="$@"
4245
if [ "x$ARGV" = "x" ] ; then

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Cronicle",
3-
"version": "0.9.65",
3+
"version": "0.9.66",
44
"description": "A simple, distributed task scheduler and runner with a web based UI.",
55
"author": "Joseph Huckaby <[email protected]>",
66
"homepage": "https://github.com/jhuckaby/Cronicle",

0 commit comments

Comments
 (0)