From 717f1d5d26198c7e0795ce011e26758a4a85744d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 23 Dec 2013 22:50:58 +0100 Subject: [PATCH] Add examples of iodine-server systemd unit --- doc/iodine-server.service | 11 +++++++++++ doc/iodine-server.socket | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 doc/iodine-server.service create mode 100644 doc/iodine-server.socket diff --git a/doc/iodine-server.service b/doc/iodine-server.service new file mode 100644 index 0000000..64d2ecc --- /dev/null +++ b/doc/iodine-server.service @@ -0,0 +1,11 @@ +[Unit] +Description=Iodine Server +After=local-fs.target network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/iodine-server +ExecStart=/usr/local/bin/iodined -i 30 -f $OPTIONS +StandardOutput=syslog + +[Install] +WantedBy=multi-user.target diff --git a/doc/iodine-server.socket b/doc/iodine-server.socket new file mode 100644 index 0000000..d6c57b8 --- /dev/null +++ b/doc/iodine-server.socket @@ -0,0 +1,8 @@ +[Unit] +Description=Iodine socket + +[Socket] +ListenDatagram=53 + +[Install] +WantedBy=sockets.target