diff --git a/README.md b/README.md index 57ebc9ab..190f1e75 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ OctoPrint ========= -OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software +OctoPrint provides a snappy web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software and released under the [GNU Affero General Public License V3](http://www.gnu.org/licenses/agpl.html). Its website can be found at [octoprint.org](http://octoprint.org). diff --git a/scripts/octoprint.init b/scripts/octoprint.init index b0916fae..be66b6a8 100644 --- a/scripts/octoprint.init +++ b/scripts/octoprint.init @@ -116,6 +116,9 @@ case "$1" in 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; + status) + status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? + ;; restart) log_daemon_msg "Restarting $DESC" "$NAME" do_stop @@ -135,8 +138,7 @@ case "$1" in esac ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2 exit 3 ;; esac -