Unverified Commit f3c660e9 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #198298 from yorickvP/int-rm-leading-zeroes

parents 23b2b4e5 af4a43e3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ let
    Type = "oneshot";
    User = user;
    Group = mkDefault "acme";
    UMask = 0022;
    StateDirectoryMode = 750;
    UMask = "0022";
    StateDirectoryMode = "750";
    ProtectSystem = "strict";
    ReadWritePaths = [
      "/var/lib/acme"
@@ -85,7 +85,7 @@ let
    serviceConfig = commonServiceConfig // {
      StateDirectory = "acme/.minica";
      BindPaths = "/var/lib/acme/.minica:/tmp/ca";
      UMask = 0077;
      UMask = "0077";
    };

    # Working directory will be /tmp
@@ -243,7 +243,7 @@ let

      serviceConfig = commonServiceConfig // {
        Group = data.group;
        UMask = 0027;
        UMask = "0027";

        StateDirectory = "acme/${cert}";

+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ in {
        Type = "oneshot";
        # requires a relative directory name to create beneath /var/lib
        StateDirectory = user;
        StateDirectoryMode = 0750;
        StateDirectoryMode = "0750";
        ExecStart = "${pkgs.python3Packages.journalwatch}/bin/journalwatch mail";
        # lowest CPU and IO priority, but both still in best-effort class to prevent starvation
        Nice=19;
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ in {
        PrivateTmp = true;
        WorkingDirectory = appDir;
        StateDirectory = baseNameOf dataDir;
        UMask = 0027;
        UMask = "0027";
        EnvironmentFile = cfg.environmentFile;

        ExecStart = ''
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ in {
        PrivateTmp = true;
        WorkingDirectory = pkgs.mautrix-telegram; # necessary for the database migration scripts to be found
        StateDirectory = baseNameOf dataDir;
        UMask = 0027;
        UMask = "0027";
        EnvironmentFile = cfg.environmentFile;

        ExecStart = ''
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ in
        DynamicUser = true;
        ReadWritePaths = cfg.settings.DatabaseDirectory;
        RuntimeDirectory = "geoipupdate";
        RuntimeDirectoryMode = 0700;
        RuntimeDirectoryMode = "0700";
        CapabilityBoundingSet = "";
        PrivateDevices = true;
        PrivateMounts = true;
Loading