1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

add OpenRC service for Nix

This commit is contained in:
unrooted 2022-05-21 11:43:57 +02:00
parent 5aeda91639
commit b3d4436a91

View file

@ -0,0 +1,7 @@
#!/sbin/openrc-run
name=$RC_SVCNAME
description="Nix Daemon"
command_args_background="--daemon"
pidfile="/var/run/nix-daemon.pid"
command="/nix/var/nix/profiles/default/bin/nix-daemon"