[Unit] After=syslog.target network-online.target ConditionPathIsDirectory=/etc/wireguard [Service] Environment="VIRTUAL_ENV={{VIRTUAL_ENV}}" WorkingDirectory={{APP_ROOT}} ExecStart={{VIRTUAL_ENV}}/bin/python3 {{APP_ROOT}}/dashboard.py PrivateTmp=yes Restart=always [Install] WantedBy=multi-user.target