anchor.diff:  
       users.groups."${cfg.group}" = {};
   
  +    systemd.tmpfiles.rules = [
  +      "d '${cfg.home}' - ${cfg.user} - - -"
  +      "d /run/confluence - - - - -"
  +
  +      "L+ /run/confluence/home - - - - ${cfg.home}"
  +      "L+ /run/confluence/logs - - - - ${cfg.home}/logs"
  +      "L+ /run/confluence/temp - - - - ${cfg.home}/temp"
  +      "L+ /run/confluence/work - - - - ${cfg.home}/work"
  +      "L+ /run/confluence/server.xml - - - - ${cfg.home}/server.xml"
  +    ];
  +
       systemd.services.confluence = {
         description = "Atlassian Confluence";
   
  
positive.code:       preStart = ''
          mkdir -p ${cfg.home}/{logs,work,temp,deploy}
  
          mkdir -p /run/confluence
          ln -sf ${cfg.home}/{logs,work,temp,server.xml} /run/confluence
          ln -sf ${cfg.home} /run/confluence/home
  
          chown ${cfg.user} ${cfg.home}
  
          sed -e 's,port="8090",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
          '' + (lib.optionalString cfg.proxy.enable ''
            -e 's,protocol="org.apache.coyote.http11.Http11NioProtocol",protocol="org.apache.coyote.http11.Http11NioProtocol" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}",' \
  
negative.code:         User = cfg.user;
          Group = cfg.group;
          PrivateTmp = true;
          ExecStart = "${pkg}/bin/start-confluence.sh -fg";
          ExecStop = "${pkg}/bin/stop-confluence.sh";
        };
  