This bot searches /r/laptopdeals for laptops that have a 4060 for less than a specified price.
secrets/from_email.txt
- The email sending text alerts fromsecrets/to_email.txt
- The email to send the alert tosecrets/reddit_app_token.txt
- Reddit App token linksecrets/reddit_app_id.txt
- Reddit App ID linksecrets/app_password.txt
- Google App password, not super secure don't attach to main account.
systemd tutorial created using ref
The following systemd config should start a service on boot, and keep it running indefinitely.
[Unit]
Description=Startup service for python program.
Requires=network.target
[Service]
Type=idle
WorkingDirectory={path/to/workdir}
ExecStart= {path/to/python/executable} {path/to/workdir/main.py}
user={username}
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target