mirror of
https://github.com/FAUSheppy/jeffrey_miller_flask_ftp
synced 2025-12-09 14:48:33 +01:00
add systemd service
This commit is contained in:
12
flask-ftp.service
Normal file
12
flask-ftp.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Flask FTP management service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/flask/jeffrey_miller_flask_ftp/
|
||||
Type=simple
|
||||
User=flask
|
||||
ExecStart=/usr/bin/waitress-serve --host 127.0.0.1 --port 5014 --call 'app:createApp'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user