echoip/etc/systemd/system/echoip.service

18 lines
247 B
SYSTEMD

[Unit]
Description=EchoIP
After=network.target
[Service]
Type=simple
User=web
ExecStart=/usr/local/bin/echoip
Restart=always
RestartSec=5s
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=echoip
[Install]
WantedBy=multi-user.target