Skip to main content

Save a unit file

PUT 

/plugin-api/service-manager/:hostId/units/:unit/file

Checks the text with systemd-analyze verify, then writes the unit to /etc/systemd/system or its override.conf drop-in, keeps a .termix.bak copy and reloads systemd. An empty override removes it.

Request​

Responses​

Saved.