1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-21 20:46:06 +03:00

Add examples of iodine-server systemd unit

This commit is contained in:
Michael Scherer 2013-12-23 22:50:58 +01:00
parent 27fb4c75cd
commit 717f1d5d26
2 changed files with 19 additions and 0 deletions

11
doc/iodine-server.service Normal file
View File

@ -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

8
doc/iodine-server.socket Normal file
View File

@ -0,0 +1,8 @@
[Unit]
Description=Iodine socket
[Socket]
ListenDatagram=53
[Install]
WantedBy=sockets.target