repo-cloner/startup-logcat

15 lines
348 B
Bash
Executable File

#!/bin/bash
# prepares persmissions for files & starts frontail to tail log files
# make parallel citation shut up
mkdir -p ~executor/.parallel
touch ~executor/.parallel/will-cite
# repair ownership
find /data \! -user executor -exec chown executor:executor {} \;
frontail /var/log/syslog /home/executor/cron.log --daemonize --url-path /logs