Hi, I am running a logout systemd service to clean up in shutdown, the service was called in boot but was not called in the shutdown process, I double checked the mlogout.sh script which was not executed.
I tried RemainAfterExit=yes, it did not work either, what could I be missing? # cat /lib/systemd/system/mlogout.service [Unit] Description=Logout clean job After=syslog.target DefaultDependencies=no [Service] Type=oneshot ExecStop=/usr/bin/mlogout.sh RemainAfterExit=true # RemainAfterExit=yes [Install] WantedBy=multi-user.target Thank you. Kind regards, - jupiter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156040): https://lists.openembedded.org/g/openembedded-core/message/156040 Mute This Topic: https://lists.openembedded.org/mt/85622489/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-