From 04c836b71381cda90b34e4375fd0ffd25a2fc243 Mon Sep 17 00:00:00 2001 From: iacore Date: Sun, 1 Oct 2023 01:22:58 +0000 Subject: [PATCH] Simplify dinit script --- dinit-service | 1 - proto/deploy | 1 + proto/reload | 4 ---- 3 files changed, 1 insertion(+), 5 deletions(-) delete mode 100755 proto/reload diff --git a/dinit-service b/dinit-service index 1adbdc4..56201bc 100644 --- a/dinit-service +++ b/dinit-service @@ -2,7 +2,6 @@ # ln -sr dinit-service ~/.config/dinit.d/status # Start with # proto/deploy -# proto/reload # when this config file change type = process # change the following line based on where the executable is diff --git a/proto/deploy b/proto/deploy index cb9e15f..ca67fae 100755 --- a/proto/deploy +++ b/proto/deploy @@ -1,5 +1,6 @@ #!/usr/bin/fish go build . +and dinitctl reload status and begin dinitctl stop status dinitctl start status diff --git a/proto/reload b/proto/reload deleted file mode 100755 index 259d9e0..0000000 --- a/proto/reload +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/fish -dinitctl reload status -and dinitctl restart status -