mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +01:00
7238efd9ae
This commit doesn't integrate redis. No change to makefile b/c it should work once the temporary jobservice_v2 folder is renamed to jobservice.
14 lines
323 B
Bash
14 lines
323 B
Bash
#!/bin/sh
|
|
if [ -d /etc/jobservice/ ]; then
|
|
chown -R 10000:10000 /etc/jobservice/
|
|
fi
|
|
if [ -d /var/log/jobs ]; then
|
|
chown -R 10000:10000 /var/log/jobs/
|
|
fi
|
|
if [ -d /var/log/jobs/scan_job ]; then
|
|
chmod +x /var/log/jobs/scan_job
|
|
fi
|
|
|
|
sudo -E -u \#10000 "/harbor/harbor_jobservice" "-c" "/etc/jobservice/config.yml"
|
|
|