Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 754 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 754 Bytes

Quick Start

# Create virtual enviorment for python
virtualenv .venv

# Activate enviorment and install requirements
source .venv/bin/activate
pip install -r requirements.txt

python undelete_bot.py

Long term usage (with systemd)

  1. Place all files in /var/www/undelete
  2. Copy the service file with cp /var/www/undelete/undelete.service /etc/systemd/system/undelete.service
  3. Start service with sudo systemctl start undelete.service

Show logs with journalctl -u undelete.service