scst icon indicating copy to clipboard operation
scst copied to clipboard

Suggestion: Systemd unit files

Open dodexahedron opened this issue 5 years ago • 2 comments

Since a lot of distributions are using systemd, at this point, it would be nice if any build on a system using systemd would install a systemd unit file instead of/in addition to the init script. Sure systemd generates one when you enable the service, but it of course isn't optimal and, on at least one of my systems, loads in a bad order without manually modifying the generated unit, resulting in the need to restart scst after boot, or else not all modules are loaded or the configuration is "invalid" due to missing mount points, and it's thus basically non-functional until a systemctl restart scst.

This is especially true if, for example, using fileio while also using zfs, since zfs might not load before scst without modifying that unit.

That's a specific example, but I'm sure a more generic case can be set up that would avoid the majority of such situations, like specifying After=multi-user.target or something like that.

dodexahedron avatar Aug 03 '20 04:08 dodexahedron