This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Support more systemd unit types #235
Labels
Comments
Here's the code that limits fleet to handling service and socket units: Line 20 in 5034b17
|
Merged
I'm struggling to see a usecase for device, mount and automount units being scheduled through fleet. Any help? |
A cool use case would be a set of units that provision an EBS (.service), mount it (.mount), then run some container (.service). That way you could make sure that the system has the mount points needed no matter where the process was running. Not sure about automount or device. /cc @marineam |
Agreed with the above. Would be nice to tie a service to a mount unit to ensure that services that need external mounts (say NFS) would work without having to ensure that mount is on every machine in the cluster |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
fleet currently hard-codes support for .service and .socket units. fleet can actually support pretty much all unit types without any extra code, so it's clear we should enable that.
We should probably punt on network units for now given the added complexity they will add to the code.
The text was updated successfully, but these errors were encountered: