nix-servo/not-os-patches/pr-34.patch

21 lines
728 B
Diff

diff --git a/zynq_image.nix b/zynq_image.nix
index 069fe89..979b760 100644
--- a/zynq_image.nix
+++ b/zynq_image.nix
@@ -51,6 +51,15 @@ in {
hostname ${config.networking.hostName}
exec setsid agetty ttyPS0 115200
'';
+ "service/linien-server/run".source = pkgs.writeShellScript "linien-server" ''
+ exec 2>&1
+ exec setsid linien-server run
+ '';
+ "service/linien-server/log/run".source = pkgs.writeShellScript "linien-server-logger" ''
+ exec 2>&1
+ mkdir -p /root/linien-server-log
+ exec svlogd -tt /root/linien-server-log
+ '';
"pam.d/other".text = ''
auth sufficient pam_permit.so
account required pam_permit.so