[Unit] Description=Mqtt logger service After=multi-user.target [Service] Type=idle ExecStart=/usr/bin/python /usr/local/lib/python2.7/dist-packages/mqtt_logger/__init__.py [Install] WantedBy=multi-user.target