service-ping/service-ping.service

14 lines
224 B
Desktop File

[Unit]
Description=service-ping
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/service-ping
ExecStart=/opt/service-ping/app 192.168.0.82 8100
Restart=always
[Install]
WantedBy=multi-user.target