05-29-2025, 09:28 AM
Hi !
I've foiund the good config por the service:
[Unit]
Description=Shutdown recievers
Requires=multi-user.target
After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/python3 /opt/reciever_shutdown/reciever_start.py
[Install]
WantedBy=multi-user.target
I've foiund the good config por the service:
[Unit]
Description=Shutdown recievers
Requires=multi-user.target
After=multi-user.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/python3 /opt/reciever_shutdown/reciever_start.py
[Install]
WantedBy=multi-user.target