dustin
/
jenkinsagent
Archived
1
0
Fork 0
This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
jenkinsagent/rootfs/overlay/usr/lib/systemd/system/chown-jenkins-home.service

13 lines
288 B
INI

[Unit]
Description=Set Jenkins home directory permissions
After=var-lib-jenkins.mount
Before=remote-fs.target
[Service]
Type=oneshot
ExecStart=/usr/bin/chown jenkins:jenkins /var/lib/jenkins
ExecStart=/usr/bin/chmod u=rwx,go=rx /var/lib/jenkins
[Install]
WantedBy=var-lib-jenkins.mount