mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 15:41:26 +00:00
Add examples of iodine-server systemd unit
This commit is contained in:
parent
27fb4c75cd
commit
717f1d5d26
11
doc/iodine-server.service
Normal file
11
doc/iodine-server.service
Normal 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
8
doc/iodine-server.socket
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Iodine socket
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
ListenDatagram=53
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
Loading…
Reference in a new issue