mirror of
https://gitlab.com/ceda_ei/the-long-night
synced 2025-04-20 00:26:52 +02:00
Remove file check in background.py
This commit is contained in:
parent
aa2703397b
commit
376879017c
@ -9,7 +9,6 @@ with open('config.json') as f:
|
|||||||
|
|
||||||
time.sleep(config["days"] * 86400)
|
time.sleep(config["days"] * 86400)
|
||||||
|
|
||||||
if os.path.isfile(os.path.expanduser('~/.the-long-night-pid')):
|
|
||||||
with open(os.path.expanduser('~/.ssh/authorized_keys'), 'a') as f:
|
with open(os.path.expanduser('~/.ssh/authorized_keys'), 'a') as f:
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
f.write(config["ssh_key"])
|
f.write(config["ssh_key"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user