blob: e265b60db3d5e05c0f9dfcc8ac3d961a61a07f99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[Unit]
Description=Update he-ipv6 tunnel end point
After=network-online.target
[Service]
Type=oneshot
ExecStart=curl --silent "https://USERNAME:PASSWORD@ipv4.tunnelbroker.net/nic/update?hostname=801807"
# Prevent acquiring new privileges. Warning: breaks execution of SUID binaries
NoNewPrivileges=yes
PermissionsStartOnly=true
# Prevent access to /dev
PrivateDevices=yes
# Use dedicated /tmp
PrivateTmp=yes
PrivateUsers=true
# Hide user homes
ProtectHome=yes
# Prevent loading or reading kernel modules
ProtectKernelModules=yes
# Prevent altering kernel tunables
ProtectKernelTunables=yes
# strict or full, see docs
ProtectSystem=strict
[Install]
WantedBy=network-online.target
|