diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2019-01-24 16:09:44 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2019-01-24 16:09:44 +0100 |
commit | 5577b2c2285cbe0fd8bf4b0d6d3d86dc05f3c644 (patch) | |
tree | f58f78aab89fa7277db4b0fd3a4ea9abe3554977 /sigexec-gen-dkim-key@.service | |
parent | 8b3ddd6fa2495cec5cab5ea308c8374c82ad9daa (diff) |
Add systemd unit to generate a new key
The unit is templated with the name of the selector.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'sigexec-gen-dkim-key@.service')
-rw-r--r-- | sigexec-gen-dkim-key@.service | 7 |
1 files changed, 7 insertions, 0 deletions
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 |