17 lines
398 B
Desktop File
17 lines
398 B
Desktop File
[Unit]
|
|
Description=domainCheck Worker
|
|
After=network.target redis.service postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/domaincheck/domainCheck
|
|
Environment="WORKER_MODE=linux-systemd"
|
|
ExecStart=/opt/domaincheck/domainCheck/.venv/bin/python /opt/domaincheck/domainCheck/detect_worker.py
|
|
Restart=always
|
|
RestartSec=5
|
|
User=www-data
|
|
Group=www-data
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|