[Unit] Description=description of the service After=network.target [Service] User=specific user for this service Group=specific user for this service WorkingDirectory=directory from which to run the service Environment="PATH=/…/venv/bin" # if it’s being run in a venv ExecStart=command to run the service Restart=on-failure [Install] WantedBy=multi-user.target