forked from pool/iodine
Dirk Mueller
7ed463c48d
- Comment out ProtectClock in hardening, (boo#1206835). Modified: * iodine.service. * iodined.service. OBS-URL: https://build.opensuse.org/request/show/1108710 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=22
35 lines
881 B
Desktop File
35 lines
881 B
Desktop File
# /lib/systemd/system/iodined.service
|
|
#
|
|
# Copyright (c) 2012-2023 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
|
#
|
|
|
|
[Unit]
|
|
Description=iodined 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
|
|
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/iodined
|
|
Environment=TERM=linux
|
|
ExecStart=/bin/sh -c "/usr/sbin/iodined ${IODINED_PASS} ${IODINED_OPTIONS}"
|
|
StandardOutput=syslog
|
|
Restart=always
|
|
RestartSec=0
|
|
KillSignal=SIGHUP
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|