Start a Python Script in Virtual Environnment at Boot

Tested on Synology This example is to automatically start at boot the python script created in this post Change directory cd /etc/systemd/system Create the service file sudo nano flask_test_server.service copy & paste below [Unit] Description=<project flask_test_server> [Service] User=root WorkingDirectory=/volume1/homes/Daniel/virtual_env_test/virtual_python ExecStart=/volume1/homes/Daniel/virtual_env_test/virtual_python/bin/python3… Read moreStart a Python Script in Virtual Environnment at Boot