[Unit]
Description=xxxx
After=network.service

[Service]
Type=simple
User=root
Group=root
WorkingDiretory=/var/www/html/app10 ExecStart=/usr/bin/python app.py

[Install]
WantedBy=multi-user.target

发表评论