possibly reload misskey on update?
This commit is contained in:
parent
3310c28617
commit
e88cf17c35
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue