fix sysbox services

This commit is contained in:
2023-12-03 16:12:32 +01:00
parent 6390ace14c
commit b4e285c00c

View File

@@ -21,8 +21,7 @@
after = "sysbox-mgr.service"; after = "sysbox-mgr.service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "simple"; 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;
@@ -42,8 +41,7 @@
partOf = "sysbox.service"; partOf = "sysbox.service";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "simple"; 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;