[Unit]
Description=Python daemon
After=syslog.target
After=network.target
[Service]
Type=simple
User=user
Group=user
ExecStart=/bin/bash /home/user/test.py
[Install]
WantedBy=multi-user.target
cat syslog | grep python
Apr 15 00:32:54 e3 systemd[21231]: pythonmap.service: Failed at step EXEC spawning /home/user/test.py: Exec format error
Apr 15 00:32:54 e3 systemd[1]: pythonmap.service: Main process exited, code=exited, status=203/EXEC
Apr 15 00:32:54 e3 systemd[1]: pythonmap.service: Unit entered failed state.
Apr 15 00:32:54 e3 systemd[1]: pythonmap.service: Failed with result 'exit-code'