Re: [systemd-devel] systemd oneshot service stop on shutdown problem

2018-09-10 Thread Lennart Poettering
On Mo, 20.08.18 18:00, Radoslaw Garbacz (radoslaw.garb...@xtremedatainc.com) wrote: > Hi, > > Could you please advise me with regard to systemd configuration for service > type=oneshot. > It does not execute stop on shutdown/reboot, but works as intended when > called manually. > > Online

Re: [systemd-devel] systemd oneshot service stop on shutdown problem

2018-08-20 Thread Ryan Gonzalez
Maybe /tmp is getting cleared or unmounted first? What happens if you put the script somewhere else? On Mon, Aug 20, 2018, 6:48 PM Filipe Brandenburger wrote: > On Mon, Aug 20, 2018 at 4:00 PM Radoslaw Garbacz > wrote: > > Could you please advise me with regard to systemd configuration for >

[systemd-devel] systemd oneshot service stop on shutdown problem

2018-08-20 Thread Radoslaw Garbacz
Hi, Could you please advise me with regard to systemd configuration for service type=oneshot. It does not execute stop on shutdown/reboot, but works as intended when called manually. Online discussions indicate that the configuration below should be working. 1) service configuration: [Unit]