nixos/tests/pinnwand: show systemd-analyze security

Easy way to revisit the hardening setup of the systemd unit.
This commit is contained in:
Martin Weinelt 2021-04-29 23:12:20 +02:00
parent fda2ff4edc
commit f1c32c2809
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -82,5 +82,7 @@ in
# remove paste and check that it's not available any more # remove paste and check that it's not available any more
client.succeed(f"curl {removal_link}") client.succeed(f"curl {removal_link}")
client.fail(f"curl --fail {raw_url}") client.fail(f"curl --fail {raw_url}")
server.log(server.succeed("systemd-analyze security pinnwand"))
''; '';
}) })