sane-scripts: port sane-stop-all-servo to nix-shell

This commit is contained in:
Colin 2023-06-07 07:16:27 +00:00
parent a40fc7e112
commit 0a8eee8af0
2 changed files with 7 additions and 1 deletions

View File

@ -261,6 +261,11 @@ let
src = ./src;
pkgs = [ "openssl" ];
};
stop-all-servo = static-nix-shell.mkBash {
pname = "sane-stop-all-servo";
src = ./src;
pkgs = [ "systemd" ];
};
};
in
symlinkJoin {

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p systemd
sudo systemctl stop matrix-appservice-irc mx-puppet-discord
sudo systemctl stop pleroma gitea matrix-synapse jellyfin transmission jackett
sudo systemctl stop ejabberd goaccess i2p kiwix-serve navidrome