vim /etc/systemd/system/server_uwsgi.service
写入以下内容
[Unit] Description=PDF_merge Server After=syslog.target [Service] KillSignal=SIGQUIT ExecStart=uwsgi --ini (配置文件路径)uwsgi.ini Restart=always Type=notify NotifyAccess=all StandardError=syslog [Install] WantedBy=multi-user.target服务注册
systemctl enable /etc/systemd/system/server_uwsgi.service



