Last active
December 3, 2022 12:48
-
-
Save Tayrannosaur/cc4415e9cfec1190ac5c2efcd84e556d to your computer and use it in GitHub Desktop.
nix-daemon service script for OpenRC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/openrc-run | |
name="nix-daemon" | |
description="Nix Daemon" | |
supervisor="supervise-daemon" | |
command="/nix/var/nix/profiles/default/bin/nix-daemon" | |
pidfile="/run/${RC_SVCNAME}.pid" | |
command_background=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just make sure to change it to an executable with
chmod +x /etc/init.d/nix-daemon