Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

Commit c3ca2ad

Browse files
committed
Change sysvinit options to be compatible with ubuntu 14.04
1 parent 36ddeb0 commit c3ca2ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cli/stubs/init/sysvinit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ start() {
3131
}
3232

3333
stop() {
34-
start-stop-daemon --stop --retry=$STOP_SCHEDULE --pidfile $PIDFILE --remove-pidfile || return 1
34+
start-stop-daemon --stop --retry=$STOP_SCHEDULE --pidfile $PIDFILE || return 1
35+
test -f $PIDFILE && rm $PIDFILE
3536
}
3637

3738
case "$1" in

cli/stubs/valet-dns

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function watchDirs() {
9595
echo "Watching the following directories:" >> "$LOGFILE"
9696

9797
for DIR in "${DIRS[@]}"; do
98-
echo " - ${1}" >> "$LOGFILE"
98+
echo " - $DIR" >> "$LOGFILE"
9999
done
100100

101101
# Watch directories for changes in files

0 commit comments

Comments
 (0)