release
This commit is contained in:
14
autoban.service
Normal file
14
autoban.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=autoban with Waitress
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
#User=your_user
|
||||
#Group=your_group
|
||||
WorkingDirectory=/opt/autoban
|
||||
ExecStart=/opt/autoban/venv/bin/python /opt/autoban/run.py
|
||||
Restart=always
|
||||
Environment=PATH=/opt/autoban/venv/bin
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user