Jump to content

Translations:Systemd/Hardening/10/ru

From Official NixOS Wiki
Revision as of 10:02, 12 August 2024 by Unabomberlive (talk | contribs) (Created page with "<syntaxhighlight lang="nix"> { pkgs }: { systemd.services.myService = { serviceConfig = { ExecStart = "${pkgs.tmux}/bin/tmux -S /run/myService/tmux.socket new-session -s my-session -d"; ExecStop = "${pkgs.tmux}/bin/tmux -S /run/myService/tmux.socket kill-session -t my-session"; Type = "forking";")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<syntaxhighlight lang="nix"> { pkgs }: {

 systemd.services.myService = {
   serviceConfig = {
     ExecStart = "${pkgs.tmux}/bin/tmux -S /run/myService/tmux.socket new-session -s my-session -d";
     ExecStop = "${pkgs.tmux}/bin/tmux -S /run/myService/tmux.socket kill-session -t my-session";
     Type = "forking";