diff options
author | Andrew Cady <d@jerkface.net> | 2023-05-29 22:29:50 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2023-05-29 22:29:50 -0400 |
commit | 1f38c27faac5d5c8969114b7b2aaade52d79914e (patch) | |
tree | c8764502dad46c4ab8d82c03399770ad9980632b | |
parent | e8bd16be52acdaa0684d430670e3ec063545d29f (diff) |
fossil-test@ cleaned up
-rw-r--r-- | src/fossil-test@.service | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fossil-test@.service b/src/fossil-test@.service index 3f14e62..b65aa80 100644 --- a/src/fossil-test@.service +++ b/src/fossil-test@.service | |||
@@ -3,16 +3,13 @@ Description = Test Endofossil by attempting a clone | |||
3 | 3 | ||
4 | [Service] | 4 | [Service] |
5 | Type = oneshot | 5 | Type = oneshot |
6 | 6 | TemporaryFileSystem = /root | |
7 | Environment = HOME=/root | 7 | Environment = HOME=/root |
8 | WorkingDirectory = /root | 8 | WorkingDirectory = /root |
9 | TemporaryFileSystem = /root | ||
10 | |||
11 | ExecStart = sh -exc '\ | 9 | ExecStart = sh -exc '\ |
12 | mkdir .ssh .ssh/known_hosts.d; \ | 10 | mkdir .ssh .ssh/known_hosts.d; \ |
13 | ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""; \ | 11 | ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""; \ |
14 | HOME=. ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new %i@localhost fossil test-http src/fossil/db; \ | 12 | ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new %i@localhost :; \ |
15 | HOME=. ssh -o BatchMode=yes -o StrictHostKeyChecking=yes %i@localhost fossil test-http src/fossil/db; \ | 13 | ssh -o BatchMode=yes -o StrictHostKeyChecking=yes %i@localhost fossil uptime; \ |
16 | HOME=. fossil clone ssh://%i@localhost/src/fossil/db db~$(date -Ins).fossil; \ | 14 | fossil clone ssh://%i@localhost/src/fossil/db db~$(date -Ins).fossil; \ |
17 | ' | 15 | ' |
18 | |||