Line | |
---|
1 | [Unit] |
---|
2 | Description=Mock build directory nosuid bind mount |
---|
3 | After=local-fs.target |
---|
4 | # This wants to be a [Mount], but due to |
---|
5 | # https://bugs.freedesktop.org/show_bug.cgi?id=53205 |
---|
6 | # we can't actually achieve the desired effect. |
---|
7 | [Service] |
---|
8 | Type=oneshot |
---|
9 | RemainAfterExit=true |
---|
10 | ExecStart=/bin/mount -B /var/lib/mock /var/lib/mock |
---|
11 | ExecStart=/bin/mount -o remount,nosuid /var/lib/mock |
---|
12 | ExecStop=/bin/umount /var/lib/mock |
---|
13 | [Install] |
---|
14 | WantedBy=multi-user.target |
---|
Note: See
TracBrowser
for help on using the repository browser.