forked from pool/iodine
Malcolm Lewis
1c879f805a
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/921085 OBS-URL: https://build.opensuse.org/package/show/network:utilities/iodine?expand=0&rev=21
35 lines
858 B
Desktop File
35 lines
858 B
Desktop File
# /lib/systemd/system/iodined.service
|
|
#
|
|
# Copyright (c) 2012 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
|
|
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
|