1 2 3 4 5 6 7 8 9 10
[Unit] Description=Godoc After=network.target [Service] Type=simple ExecStart=/usr/bin/godoc -http=127.0.0.1:6060 [Install] WantedBy=multi-user.target