Initial commit - Phone Refurb system
This commit is contained in:
14
phone-refurb.service
Normal file
14
phone-refurb.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Phone Refurb Web App
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=kawa
|
||||
WorkingDirectory=/home/kawa/phone-refurb
|
||||
ExecStart=/home/kawa/phone-refurb/venv/bin/python web-app.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user