summaryrefslogtreecommitdiffstats
path: root/system/nix/rc.nix
diff options
context:
space:
mode:
author Pragmatic Cypher <slackbuilds@server.ky>2016-11-20 20:51:49 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit106a4ec9c91ab079ea086ab7745030554cce5506 (patch)
treecbb8d2bc44cf8cd679f2cbd58722c11ddba1886e /system/nix/rc.nix
parent379e0016752c6a561ac6625e387265e3afb20189 (diff)
downloadslackbuilds-106a4ec9c91ab079ea086ab7745030554cce5506.tar.gz
slackbuilds-106a4ec9c91ab079ea086ab7745030554cce5506.tar.xz
system/nix: Updated for version 1.11.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--system/nix/rc.nix (renamed from system/nix/config/rc.nix)10
1 files changed, 1 insertions, 9 deletions
diff --git a/system/nix/config/rc.nix b/system/nix/rc.nix
index 82852934af..86f54a25ea 100644
--- a/system/nix/config/rc.nix
+++ b/system/nix/rc.nix
@@ -1,13 +1,5 @@
#!/bin/sh
-# Short-Description: Create lightweight, portable, self-sufficient containers.
-# Description:
-# Docker is an open-source project to easily create lightweight, portable,
-# self-sufficient containers from any application. The same container that a
-# developer builds and tests on a laptop can run at scale, in production, on
-# VMs, bare metal, OpenStack clusters, public clouds and more.
-
-
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
BASE=nix-daemon
@@ -53,7 +45,7 @@ nix_stop() {
rm -f ${NIX_PIDFILE}
}
-# Restart docker:
+# Restart nix:
nix_restart() {
nix_stop
nix_start