possibly reload misskey on update?

This commit is contained in:
Chaos 2022-12-03 13:37:26 +00:00
parent 3310c28617
commit e88cf17c35
No known key found for this signature in database

View file

@ -64,7 +64,6 @@ in {
wantedBy = [ "misskey.service" ];
after = [ "home-manager-misskey.service" "network.target" ];
path = with pkgs; [ bash git rsync ] ++ misskeyPackages;
reloadTriggers = [ misskeyPackage misskeyConfigFile ];
script = ''
mkdir -p /home/misskey/misskey || true
@ -101,6 +100,7 @@ in {
wants = [ "postgresql.service" "redis-misskey.service" ];
path = with pkgs; [ bash git ] ++ misskeyPackages;
environment.NODE_ENV = "production";
reloadTriggers = [ misskeyPackage misskeyConfigFile ];
serviceConfig = {
User = "misskey";
WorkingDirectory = "/home/misskey/misskey";