Pid preparation, crontab: expand path
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
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 {} \;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user