repo-cloner/startup-logcat

15 lines
348 B
Plaintext
Raw Normal View History

2021-01-20 12:55:06 +01:00
#!/bin/bash
2021-01-20 12:56:17 +01:00
# prepares persmissions for files & starts frontail to tail log files
2021-01-20 12:55:06 +01:00
# 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