Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/litongjava/go-agent-request

go-agent-request
https://github.com/litongjava/go-agent-request

Last synced: about 1 month ago
JSON representation

go-agent-request

Awesome Lists containing this project

README

        

# go-agent-request

```shell
vi /etc/systemd/system/go-agent-request.service
```

```
[Unit]
Description=go-agent-request
After=network.target

[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
WorkingDirectory = /opt/go-agent-request
ExecStart=/opt/go-agent-request/go-agent-request

[Install]
WantedBy=multi-user.target
```
启动
```
sudo systemctl daemon-reload
sudo systemctl enable go-agent-request
sudo systemctl start go-agent-request
sudo systemctl status go-agent-request
sudo systemctl stop go-agent-request
sudo systemctl restart go-agent-request
```