nano /usr/lib/systemd/system/noip.service
------------------------------------------------------------------------
[Unit]
Description=NoIP Service
[Service]
Type=forking
ExecStart=/usr/local/bin/noip2 -M
Restart=always
RestartSec=6
[Install]
WantedBy=multi-user.target
systemctl start noip
systemctl status noip
systemctl enable noip
● noip.service - NoIP Service
Loaded: loaded (/lib/systemd/system/noip.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-01-29 19:15:32 AST; 16min ago
Main PID: 869 (noip2)
Tasks: 1 (limit: 9300)
Memory: 512.0K
CPU: 3ms
CGroup: /system.slice/noip.service
└─869 /usr/local/bin/noip2 -M
ene 29 19:15:32 ambiorixg12-Latitude-E7250 systemd[1]: Starting NoIP Service...
ene 29 19:15:32 ambiorixg12-Latitude-E7250 noip2[869]: v2.1.9 daemon started with NAT enabled
ene 29 19:15:32 ambiorixg12-Latitude-E7250 noip2[869]: Can't gethostbyname for dynupdate.no-ip.com
ene 29 19:15:32 ambiorixg12-Latitude-E7250 noip2[869]: Can't get our visible IP address from ip1.dynupdate.no-ip.com
ene 29 19:15:32 ambiorixg12-Latitude-E7250 systemd[1]: Started NoIP Service
https://docs.fedoraproject.org/en-US/quick-docs/understanding-and-administering-systemd/
No hay comentarios:
Publicar un comentario