Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
docs: Fix server crashing, when launched from init script on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
bakape committed Jun 21, 2016
1 parent 57c40df commit 4cfd738
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
Project uses [Semantic Versioning](http://semver.org/)

##v1.9.4 - 2016-06-21
- Fix server crashing, when launched from init script on Debian

##v1.9.3 - 2016-06-11
* Fix:
- Don't autoexpand files with audio and PDF
Expand Down
4 changes: 2 additions & 2 deletions docs/doushio.initscript.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PID=${DOUSHIO_DIR}/server/.server.pid

do_start()
{
su -l $USER -c "cd $DOUSHIO_DIR; npm start &"
su $USER -c "cd $DOUSHIO_DIR; npm start &"
}

do_stop()
Expand All @@ -37,7 +37,7 @@ do_restart()

do_reload()
{
su -l $USER -c "cd $DOUSHIO_DIR; $NODE server/kill.js --pid doushio.pid"
su $USER -c "cd $DOUSHIO_DIR; $NODE server/kill.js --pid doushio.pid"
}

case "$1" in
Expand Down

0 comments on commit 4cfd738

Please sign in to comment.