Enable a command to be run on machine shutdown
Bug #1609864 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Low
|
Unassigned |
Bug Description
Google Compute Engine support running scripts as an instance is being shutdown, which is currently implemented using a oneshot service that has RemainAfterExit
We will need to be able to specify commands to run on shutdown of a machine in order to snap up GCE's agent packages.
Dear reporter, the link in the bug report does not work. Could you please revise the description of the bug to update the link. How is this handled outside of the context of snaps? That is, how does one otherwise run a service on system shutdown?