mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 12:45:19 +00:00
main() is a service
This commit is contained in:
parent
75ff4edeed
commit
96e98a3044
1 changed files with 5 additions and 1 deletions
|
|
@ -1,2 +1,6 @@
|
||||||
|
import time
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
print("Hello from hello-world!")
|
while True:
|
||||||
|
print("service running...")
|
||||||
|
time.sleep(300)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue