# To accept the server keys automatically, create the file # /etc/systemd/system/gogoc.service with this content: # # .include /usr/lib/systemd/system/gogoc.service # [Service] # Environment="GOGOC_OPTS=-y" [Unit] Description=Freenet6.net tunnel client to IPv6 After=network.target Documentation=man:gogoc(8) man:gogoc.conf(5) [Service] WorkingDirectory=/var/lib/gogoc Type=simple ExecStart=/usr/bin/gogoc -f /etc/gogoc/gogoc.conf $GOGOC_OPTS KillSignal=SIGHUP KillMode=process PrivateTmp=true CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_SETUID CAP_SETGID CAP_KILL InaccessibleDirectories=/home /root /boot /opt /mnt /media ReadOnlyDirectories=/etc /usr [Install] WantedBy=multi-user.target