diff options
| -rwxr-xr-x | install.nu | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -16,3 +16,13 @@ let DEVICE_ID = match (uname | get nodename) { # get locations let DOTFILES_DIR = "/root/dotfiles" + +# +# ~~~ install + +rm "/etc/nginx/nginx.conf" +cp $"($DOTFILES_DIR)/src/($DEVICE_ID)/nginx.conf" "/etc/nginx/nginx.conf" + +# +# ~~~ reset nginx +systemctl restart nginx |
