[Unit] Description=uWSGI instance for __NAME__ Requires=network.target After=network.target [Service] User=__NAME__ Group=__NAME__ RemainAfterExit=yes WorkingDirectory=__FINALPATH__ ExecStart=/usr/bin/uwsgi \ --ini __FINALPATH__/uwsgi.ini \ --socket __FINALPATH__/socket Restart=always StandardError=syslog [Install] WantedBy=multi-user.target