Mastodon Feed: Post

Mastodon Feed

jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

doing cleanup on service mgmt scripts:

cleanLogs.sh (removes existing logs)
restart.sh (stops service, cleans logs, starts service)
start.sh (starts service, appends to log files if exists else creates them)
stop.sh (gracefully kills off service, kills off any existing log-watchers)

split logfiles into:

storytellerErrorLog.txt
storytellerLog.txt

created log-file watching script:

watch.sh