OSMC shutdown script.. runs when OSMC is shutting down, but before the network code closes
[Unit] | |
Description=Energenie Remote Call to Secondary Pi | |
Before=multi-user.target | |
After=network.target | |
Conflicts=shutdown.target | |
[Service] | |
ExecStart=/bin/true | |
ExecStop=/bin/sh /home/osmc/callenergenie.sh | |
Type=oneshot | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment