Server root config
This commit is contained in:
3
dot_config/fish/functions/enable-site.fish
Normal file
3
dot_config/fish/functions/enable-site.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function enable-site
|
||||
ln -s (pwd)/$argv[1] ../sites-enabled
|
||||
end
|
||||
4
dot_config/fish/functions/systemctl-restart.fish
Normal file
4
dot_config/fish/functions/systemctl-restart.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
function systemctl-restart
|
||||
sudo systemctl restart $argv[1]
|
||||
and sudo systemctl status $argv[1]
|
||||
end
|
||||
Reference in New Issue
Block a user