Merge branch 'main' of https://git.st-server.org/Schule/Debian-Retzel
This commit is contained in:
@@ -1 +1,4 @@
|
|||||||
CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv
|
CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dvj6c4du574x6rgrewtrw9
|
||||||
|
|
||||||
|
ökuzho976i8tiuztiu7ttviu7
|
||||||
|
8b7o787t776ttiuzuztt98tvti6tuvti6 866t8
|
||||||
1
Level/Level3/Ordner3/file1
Normal file
1
Level/Level3/Ordner3/file1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv
|
||||||
@@ -11,7 +11,7 @@ END_STATE = "/home/crime5/.timer/end_state.txt"
|
|||||||
|
|
||||||
def is_running():
|
def is_running():
|
||||||
result = subprocess.run(["pgrep", "-f", SCRIPT_NAME], stdout=subprocess.PIPE)
|
result = subprocess.run(["pgrep", "-f", SCRIPT_NAME], stdout=subprocess.PIPE)
|
||||||
print(f"DEBUG: pgrep result: {result.returncode}, stdout: {result.stdout}")
|
# print(f"DEBUG: pgrep result: {result.returncode}, stdout: {result.stdout}")
|
||||||
return result.returncode == 0
|
return result.returncode == 0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user