From 5577b2c2285cbe0fd8bf4b0d6d3d86dc05f3c644 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 24 Jan 2019 16:09:44 +0100 Subject: Add systemd unit to generate a new key The unit is templated with the name of the selector. Signed-off-by: Olivier Gayot --- sigexec-gen-dkim-key@.service | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sigexec-gen-dkim-key@.service diff --git a/sigexec-gen-dkim-key@.service b/sigexec-gen-dkim-key@.service new file mode 100644 index 0000000..d558580 --- /dev/null +++ b/sigexec-gen-dkim-key@.service @@ -0,0 +1,7 @@ +[Unit] +Description=Generate a new DKIM key for sigexec.com. + +[Service] +User=opendkim +Type=oneshot +ExecStart=/usr/local/bin/sigexec.com-gen-dkim-key.sh %I -- cgit v1.2.3