From 52b4e6fca23771d670b07400747d5780c75e93a5 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 9 Feb 2015 17:36:04 +0100 Subject: [ssh-auth-keys] .service suffix ... --- .../data/etc/systemd/system/basic.target.wants/ssh-auth-keys | 1 - .../modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys | 9 --------- .../ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys.service | 9 +++++++++ 3 files changed, 9 insertions(+), 10 deletions(-) delete mode 120000 remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys delete mode 100644 remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys create mode 100644 remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys.service 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 deleted file mode 120000 index ea20ff73..00000000 --- a/remote/modules/ssh-auth-keys/data/etc/systemd/system/basic.target.wants/ssh-auth-keys +++ /dev/null @@ -1 +0,0 @@ -../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 deleted file mode 100644 index 14b12bc5..00000000 --- a/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys +++ /dev/null @@ -1,9 +0,0 @@ -[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 diff --git a/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys.service b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys.service new file mode 100644 index 00000000..14b12bc5 --- /dev/null +++ b/remote/modules/ssh-auth-keys/data/etc/systemd/system/ssh-auth-keys.service @@ -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 -- cgit v1.2.3-55-g7522