projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923c11a
)
Aliases (status / restart) for postgresql & nginx .
author
patrick nsukami
<ndkpatt@gmail.com>
Tue, 29 Sep 2015 02:18:58 +0000
(
02:18
+0000)
committer
patrick nsukami
<ndkpatt@gmail.com>
Tue, 29 Sep 2015 14:19:38 +0000
(14:19 +0000)
.bash_aliases
patch
|
blob
|
history
diff --git
a/.bash_aliases
b/.bash_aliases
index
1c0b92f
..
5ddc800
100644
(file)
--- a/
.bash_aliases
+++ b/
.bash_aliases
@@
-1,5
+1,10
@@
#!/bin/sh
+alias my_pg_st="sudo systemctl status postgresql"
+alias my_pg_rst="sudo systemctl restart postgresql"
+alias my_ng_st="sudo systemctl status nginx"
+alias my_ng_rst="sudo systemctl restart nginx"
+
alias ifdown="sudo ifdown "
alias ifup="sudo ifup "
alias ifconfig="sudo ifconfig "