repo-cloner/old/startup-logcat
Václav Valíček b536c883de
move old files to old directory
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-05-04 09:46:41 +02:00

19 lines
440 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
# pid file ownership
touch /var/run/cloner.pid
chown executor:executor /var/run/cloner.pid
# repair ownership
find /data \! -user executor -exec chown executor:executor {} \;
frontail /var/log/syslog /home/executor/cron.log --daemonize --url-path /logs