source: trunk/server/fedora/config/etc/systemd/system/var-lib-mock.service @ 2724

Last change on this file since 2724 was 2291, checked in by ezyang, 12 years ago
Remount /var/lib/mock as nosuid
File size: 443 bytes
Line 
1[Unit]
2Description=Mock build directory nosuid bind mount
3After=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]
8Type=oneshot
9RemainAfterExit=true
10ExecStart=/bin/mount -B /var/lib/mock /var/lib/mock
11ExecStart=/bin/mount -o remount,nosuid /var/lib/mock
12ExecStop=/bin/umount /var/lib/mock
13[Install]
14WantedBy=multi-user.target
Note: See TracBrowser for help on using the repository browser.