06/15 Phase 1 + 2 codes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Classifieds: expire past-due listings (oneshot)
|
||||
After=mysql.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=classifieds
|
||||
Group=classifieds
|
||||
WorkingDirectory=/opt/classifieds
|
||||
Environment="PATH=/opt/classifieds/venv/bin"
|
||||
EnvironmentFile=/opt/classifieds/.env
|
||||
ExecStart=/opt/classifieds/venv/bin/flask expire-listings
|
||||
Reference in New Issue
Block a user