asjon: fix nginx restart problem
This commit is contained in:
parent
b017591305
commit
393e51eb53
@ -31,7 +31,7 @@ in {
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
users.extraUsers."${cfg.user}" = {
|
||||
users.extraUsers.${cfg.user} = {
|
||||
home = cfg.dataDir;
|
||||
isSystemUser = true;
|
||||
createHome = true;
|
||||
@ -42,7 +42,7 @@ in {
|
||||
systemd.services.asjon = {
|
||||
description = "asjon: our chat bot";
|
||||
after = [ "nginx.service" "matrix-synapse.service" "asjon-init.service" ];
|
||||
requires = [ "nginx.service" "matrix-synapse.service" "asjon-init.service" ];
|
||||
partOf = [ "nginx.service" "matrix-synapse.service" "asjon-init.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = with pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user