From 2c53327c28d3e9343367ff3608362b515ef6946e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 5 Nov 2024 21:37:03 +0100 Subject: [PATCH] Fixed binary names --- module.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module.nix b/module.nix index 7feb942..3190dbd 100644 --- a/module.nix +++ b/module.nix @@ -9,7 +9,7 @@ in { options.services.mmdvm_host = { - enable = mkEnableOption "mmdvm host service"; + enable = mkEnableOption "MMDVMHost service"; package = mkOption { default = mmdvm_host.x86_64-linux.default; type = types.package; @@ -32,17 +32,17 @@ in wantedBy = [ "multi-user.target" ]; wants = [ "network.target" ]; after = [ "network.target" ]; - description = "mmdvm_host service"; + description = "MMDVMHost service"; serviceConfig = { Type = "exec"; User = cfg.user; Restart = "always"; RestartSec = "3s"; StartLimitIntervalSec = "0"; - RuntimeDirectory = "mmdvm_host"; + RuntimeDirectory = "MMDVMHost"; }; script = '' - exec ${cfg.package}/bin/mmdvm_host + exec ${cfg.package}/bin/MMDVMHost ''; }; };