mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 08:38:03 +01:00
Merge pull request #5941 from reasonerjt/chown-job-log
Run `chown` to job log directory
This commit is contained in:
commit
7a4c0191f6
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -d /var/log/jobs ]; then
|
||||
chown -R 10000:10000 /var/log/jobs/
|
||||
fi
|
||||
sudo -E -u \#10000 "/harbor/harbor_jobservice" "-c" "/etc/jobservice/config.yml"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user