move old files to old directory
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
18
old/startup-logcat
Executable file
18
old/startup-logcat
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user