[Unit] Description=Start the Listener for Scanmar NMEA After=network.target [Service] ExecStart=/usr/local/bin/python /opt/andes/manage.py shell -c "from shared_models import tasks; tasks.listen_scanmar()" [Install] WantedBy=multi-user.target