2012-09-19 18:56:25 +02:00
|
|
|
# /lib/systemd/system/iodine.service
|
|
|
|
#
|
2023-09-04 09:46:19 +02:00
|
|
|
# Copyright (c) 2012-2023 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
2012-09-19 18:56:25 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=iodine lets you tunnel IPv4 data through a DNS server
|
2015-05-11 13:44:11 +02:00
|
|
|
After=network.target syslog.target
|
2012-09-19 18:56:25 +02:00
|
|
|
|
|
|
|
[Service]
|
2021-09-30 14:36:53 +02:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
2023-10-24 10:18:40 +02:00
|
|
|
# PrivateDevices=true see boo#1216238
|
2021-09-30 14:36:53 +02:00
|
|
|
ProtectHostname=true
|
2023-09-04 09:46:19 +02:00
|
|
|
# ProtectClock=true see boo#1206835
|
2021-09-30 14:36:53 +02:00
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2012-09-19 18:56:25 +02:00
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=-/etc/sysconfig/iodine
|
|
|
|
Environment=TERM=linux
|
2016-12-29 18:28:32 +01:00
|
|
|
ExecStart=/bin/sh -c "/usr/sbin/iodine ${IODINE_PASS} ${IODINE_OPTIONS}"
|
2012-09-19 18:56:25 +02:00
|
|
|
StandardOutput=syslog
|
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
KillSignal=SIGHUP
|
|
|
|
|
|
|
|
[Install]
|
2023-09-04 09:46:19 +02:00
|
|
|
WantedBy=multi-user.target
|