2024-04-09 03:29:09 +00:00
|
|
|
[Unit]
|
|
|
|
Description=keyboard-hook
|
2024-04-10 14:20:14 +00:00
|
|
|
After=network-online.target
|
2024-04-09 03:29:09 +00:00
|
|
|
Wants=network-online.target systemd-networkd-wait-online.service
|
|
|
|
|
|
|
|
StartLimitIntervalSec=500
|
|
|
|
StartLimitBurst=5
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
|
|
|
|
2024-04-10 14:20:14 +00:00
|
|
|
ExecStart=/usr/bin/python3 /usr/bin/server.py
|
2024-04-09 03:29:09 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|