summaryrefslogtreecommitdiff
path: root/src/fossil-test@.service
diff options
context:
space:
mode:
Diffstat (limited to 'src/fossil-test@.service')
-rw-r--r--src/fossil-test@.service7
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
5Type = oneshot 5Type = oneshot
6PrivateUsers = yes 6PrivateUsers = yes
7DynamicUser = yes 7DynamicUser = yes
8
9User = fossil-test-user-%i 8User = fossil-test-user-%i
10RuntimeDirectory = fossil-test-%i 9RuntimeDirectory = fossil-test-%i
11
12# BindPaths = /run/fossil-test-%i:/.ssh
13# Environment = FOSSIL_HOME=/.ssh
14
15BindPaths = /run/fossil-test-%i:/root/.ssh 10BindPaths = /run/fossil-test-%i:/root/.ssh
16Environment = HOME=/root FOSSIL_HOME=/root/.ssh 11Environment = HOME=/root FOSSIL_HOME=/root/.ssh
17 12
18ExecStart = sh -c '[ "$HOME" != /root ] || set -- fakeroot "$@"; "$@"' - sh -exc '\ 13ExecStart = fakeroot sh -exc '\
19cd; \ 14cd; \
20! touch /test.file 2>/dev/null; \ 15! touch /test.file 2>/dev/null; \
21mountpoint -q .ssh || ln -s . .ssh; \ 16mountpoint -q .ssh || ln -s . .ssh; \