GMTROM/REST/flaskapp.service

14 lines
271 B
INI
Raw Permalink Normal View History

[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