16 lines
288 B
SYSTEMD
16 lines
288 B
SYSTEMD
[Unit]
|
|
Description="NIP agent"
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=NIP_AGENT_ADRR=127.0.0.1:10080
|
|
Environment=NIP_AGENT_TOKEN=xxx
|
|
Environment=NIP_AGENT_SERVER_ADDR=127.0.0.1:3000
|
|
ExecStart=/usr/bin/nip agent
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|