Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (24 sloc) 0.423 kb
#! /bin/sh
#
# Startup script for Yaws
YAWS_BIN=%prefix%bin/yaws
# By default we run with the default id
# YAWS_ID=myserverid
CONF=%etcdir%yaws/yaws.conf
if [ "x${YAWS_ID}" = x ]; then
idarg=""
else
idarg="--id ${YAWS_ID}"
fi
start() {
$yaws ${idarg} --daemon --heart --conf ${conf}
}
stop() {
$yaws ${idarg} --stop
}
reload() {
$yaws ${idarg} --hup
}
status() {
$yaws ${idarg} --status
}
Jump to Line
Something went wrong with that request. Please try again.