[Unit]
Description=Ping service
[Service]
WorkingDirectory=/tmp
ExecStart=/usr/bin/wget http://127.0.0.1/taskmanager.php
Restart=always
# Restart service after 60 seconds
RestartSec=60
KillSignal=SIGINT
SyslogIdentifier=pingsvc
User=www-root
#Environment=ASPNETCORE_ENVIRONMENT=Production
#Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
[Install]
WantedBy=multi-user.target