module: always restart
This commit is contained in:
parent
d1704af063
commit
840b24a642
@ -74,6 +74,8 @@ in {
|
|||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
|
||||||
|
Restart = "always";
|
||||||
|
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${cfg.package}/bin/kogs -listen ${cfg.listen} ${lib.optionalString (!cfg.registration) "-reg=false"}
|
${cfg.package}/bin/kogs -listen ${cfg.listen} ${lib.optionalString (!cfg.registration) "-reg=false"}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user