mirror of
https://gitlab.com/woem/truecaptcha_bot.git
synced 2023-02-13 20:53:57 -05:00
14 lines
311 B
SYSTEMD
14 lines
311 B
SYSTEMD
|
[Unit]
|
||
|
Requires=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Environment="TOKEN=11111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
|
||
|
WorkingDirectory=/path/to/bot/folder
|
||
|
ExecStart=/usr/bin/python3 /path/to/bot/folder/truecaptcha_bot.py
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
RequiredBy=multi-user.target
|