[Unit] Description=Delivering file contents of the vaclab web applications. After=network.target [Service] User=nobody Environment=FLASK_PORT=8081 Environment=DATA_PATH=/srv/www/data/ Type=simple StandardOutput=null StandardError=null Restart=no WorkingDirectory=/usr/local/share/webapps-deliverer ExecStart=/bin/bash -l -c "source bin/activate;./server ${FLASK_PORT} ${DATA_PATH}" [Install] WantedBy=multi-user.target