At my organization, we have a number of queue consuming worker processes. We're currently using SupervisorD to manage them, but would like to use SystemD if possible for certain advantages therein. I'm fairly experienced with writing custom units, but I don't immediately have an analog in SystemD land for this.
In the [SupervisorD documentation](http://supervisord.org/configuration.html#program-x-section-settings) a parameter called
numprocs
is detailed which allows one to set the number of processes they'd like to be started with the service. If I want 30 processes started, it's a one-line change.
Is there a setting in SystemD units that will allow me to specify how many of these processes I'd like started?
Asked by Naftuli Kay
(41366 rep)
Jun 7, 2016, 06:13 PM
Last activity: Oct 12, 2020, 05:24 PM
Last activity: Oct 12, 2020, 05:24 PM