14 lines
271 B
INI
14 lines
271 B
INI
|
[Unit]
|
||
|
Description=Flask App Service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/python /var/www/html/app.py
|
||
|
WorkingDirectory=/var/www/html
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
Restart=always
|
||
|
User=adminadmin
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|