diff options
Diffstat (limited to 'remote/modules/ssh-auth-keys/data/etc/systemd/system')
| l--------- | remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys | 1 | ||||
| -rw-r--r-- | remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys b/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys new file mode 120000 index 00000000..ea20ff73 --- /dev/null +++ b/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys @@ -0,0 +1 @@ +../ssh-auth-keys
\ No newline at end of file diff --git a/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys new file mode 100644 index 00000000..14b12bc5 --- /dev/null +++ b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys @@ -0,0 +1,9 @@ +[Unit] +Description=Enable SSH keys in authorized_keys.d/ folder +Wants=basic.target +Before=basic.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/opt/openslx/scripts/systemd-ssh_auth_keys |
