mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
add OpenRC service for Nix
This commit is contained in:
parent
5aeda91639
commit
b3d4436a91
1 changed files with 7 additions and 0 deletions
7
misc/openrc/nix-daemon.service.in
Normal file
7
misc/openrc/nix-daemon.service.in
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue