aboutsummaryrefslogblamecommitdiff
path: root/etc/systemd/system/he-ipv6-update.service
blob: e265b60db3d5e05c0f9dfcc8ac3d961a61a07f99 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                           


                                                                                                    
                         



                        
                 







                                           


                              
[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