change service ype

This commit is contained in:
2023-12-03 16:15:48 +01:00
parent b4e285c00c
commit 100268f4a7

View File

@@ -21,7 +21,7 @@
after = "sysbox-mgr.service"; after = "sysbox-mgr.service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = [ "simple" "notify" ]; Type = "notify";
ExecStart = "${pkgs.sysbox}/bin/sysbox-fs"; ExecStart = "${pkgs.sysbox}/bin/sysbox-fs";
TimeoutStartSec = 10; TimeoutStartSec = 10;
TimeoutStopSec = 10; TimeoutStopSec = 10;
@@ -41,7 +41,7 @@
partOf = "sysbox.service"; partOf = "sysbox.service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = [ "simple" "notify" ]; Type = "notify";
ExecStart = "${pkgs.sysbox}/bin/sysbox-mgr"; ExecStart = "${pkgs.sysbox}/bin/sysbox-mgr";
TimeoutStartSec = 45; TimeoutStartSec = 45;
TimeoutStopSec = 90; TimeoutStopSec = 90;