blob: 5cba03495eadee49c4389f74987993b32e588adb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import os.path
from .modules import daemon
AGENT_SYMBOL = "WAZUL"
TOKEN_FILE_NAME = "sta.token"
if __name__ == "__main__":
with open(os.path.join(os.path.dirname(__file__), TOKEN_FILE_NAME)) as f:
token = f.read().strip()
d = daemon.Daemon(AGENT_SYMBOL, token)
d.run()
|