diff options
Diffstat (limited to 'src/fossil-test@.service')
-rw-r--r-- | src/fossil-test@.service | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fossil-test@.service b/src/fossil-test@.service index c7076c4..23fdbd8 100644 --- a/src/fossil-test@.service +++ b/src/fossil-test@.service | |||
@@ -5,17 +5,12 @@ Description = Endofossil Test: Clone over SSH using fresh identity | |||
5 | Type = oneshot | 5 | Type = oneshot |
6 | PrivateUsers = yes | 6 | PrivateUsers = yes |
7 | DynamicUser = yes | 7 | DynamicUser = yes |
8 | |||
9 | User = fossil-test-user-%i | 8 | User = fossil-test-user-%i |
10 | RuntimeDirectory = fossil-test-%i | 9 | RuntimeDirectory = fossil-test-%i |
11 | |||
12 | # BindPaths = /run/fossil-test-%i:/.ssh | ||
13 | # Environment = FOSSIL_HOME=/.ssh | ||
14 | |||
15 | BindPaths = /run/fossil-test-%i:/root/.ssh | 10 | BindPaths = /run/fossil-test-%i:/root/.ssh |
16 | Environment = HOME=/root FOSSIL_HOME=/root/.ssh | 11 | Environment = HOME=/root FOSSIL_HOME=/root/.ssh |
17 | 12 | ||
18 | ExecStart = sh -c '[ "$HOME" != /root ] || set -- fakeroot "$@"; "$@"' - sh -exc '\ | 13 | ExecStart = fakeroot sh -exc '\ |
19 | cd; \ | 14 | cd; \ |
20 | ! touch /test.file 2>/dev/null; \ | 15 | ! touch /test.file 2>/dev/null; \ |
21 | mountpoint -q .ssh || ln -s . .ssh; \ | 16 | mountpoint -q .ssh || ln -s . .ssh; \ |