Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dasavick committed Sep 28, 2019
2 parents 38de958 + 770f163 commit 654a878
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Simple screen daemon written in Go.
- `/etc/init.d/screend restart`

## Removal
- `update.rc screend remove`
- `update-rc.d screend remove`
- `sudo rm -rf /root/screend /etc/init.d/screend`

## Configuration
Expand Down
9 changes: 8 additions & 1 deletion screend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Required-Start: $all
# Short-Description: screend init script
### END INIT INFO

Expand All @@ -26,6 +27,12 @@ SCRIPTNAME=/etc/init.d/$NAME
# and status_of_proc is working.
. /lib/lsb/init-functions

# Make sure we have started with system locale
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG
fi

#
# Function that starts the daemon/service
#
Expand Down Expand Up @@ -137,4 +144,4 @@ case "$1" in
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
exit 3
;;
esac
esac

0 comments on commit 654a878

Please sign in to comment.