-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Description
I have multiple configurations for direwolf depending on the application using it. The static sysconfig file is limiting in that way.
I've created a folder /etc/direwolf.d/ where I put the config files. Then I've modified the direwolf.service unit file to support templates in a template unit file named direwolf@.service with this line changed:
ExecStart=/bin/bash -ce "exec /usr/bin/direwolf $DIREWOLF_ARGS -c
/etc/direwolf.d/%i.conf >>/var/log/direwolf/stdout 2>>/var/log/direwolf/stderr"
I believe the template unit file can sit along side the fixed unit file without conflict.
Could you add this second unit file and create/own /etc/direwolf.d in the install packages?
Metadata
Metadata
Assignees
Labels
No labels