forked from pool/iodine
Dirk Mueller
b3f1dda814
- Comment out ProtectDevices in hardening, (boo#1216238). Modified: * iodine.service. * iodined.service. OBS-URL: https://build.opensuse.org/request/show/1119648 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=24
35 lines
893 B
Desktop File
35 lines
893 B
Desktop File
# /lib/systemd/system/iodine.service
|
|
#
|
|
# Copyright (c) 2012-2023 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
|
#
|
|
|
|
[Unit]
|
|
Description=iodine lets you tunnel IPv4 data through a DNS server
|
|
After=network.target syslog.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
# PrivateDevices=true see boo#1216238
|
|
ProtectHostname=true
|
|
# ProtectClock=true see boo#1206835
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=simple
|
|
EnvironmentFile=-/etc/sysconfig/iodine
|
|
Environment=TERM=linux
|
|
ExecStart=/bin/sh -c "/usr/sbin/iodine ${IODINE_PASS} ${IODINE_OPTIONS}"
|
|
StandardOutput=syslog
|
|
Restart=always
|
|
RestartSec=0
|
|
KillSignal=SIGHUP
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|