mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
test: Create FINIT_CONF dir before writing to the file
Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
1 parent
9d3d211b6b
commit
a28bb6f951
1 file changed
+1
@@ -5,6 +5,7 @@ set -eu
|
||||
# Test
|
||||
say 'Set up a service'
|
||||
cp "$TEST_DIR"/service.sh test_root/bin
|
||||
texec mkdir -p "$(dirname "$FINIT_CONF")"
|
||||
texec sh -c "echo 'service [2345] kill:20 log /bin/service.sh' > $FINIT_CONF"
|
||||
|
||||
say 'Reload Finit'
|
||||
|
||||
Reference in new issue
Block a user