11 lines
339 B
SYSTEMD
11 lines
339 B
SYSTEMD
|
[Unit]
|
||
|
Description=runs event web scraping on the unloze forum
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=nonroot
|
||
|
Environment=PYTHONUNBUFFERED=1
|
||
|
Environment=PATH=/home/nonroot/event_scrapy/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
|
||
|
WorkingDirectory=/home/nonroot/event_scrapy
|
||
|
ExecStart=/home/nonroot/event_scrapy/main.py
|