Simplify dinit script
This commit is contained in:
parent
37ea7f2268
commit
04c836b713
3 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/fish
|
||||
go build .
|
||||
and dinitctl reload status
|
||||
and begin
|
||||
dinitctl stop status
|
||||
dinitctl start status
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/fish
|
||||
dinitctl reload status
|
||||
and dinitctl restart status
|
||||
|
Loading…
Reference in a new issue