adding gitignore and better service file
This commit is contained in:
1 parent
65e87129a6
commit
5547e8373e
4 files changed
+6
-29
No files matched your search
@@ -1,6 +1,6 @@
|
||||
svn_revision = $(shell svn info --show-item revision)
|
||||
|
||||
#LDFLAGS = "-X main.version=$(svn_revision)"
|
||||
LDFLAGS = "-X main.version=$(svn_revision)"
|
||||
|
||||
build:
|
||||
@echo "Building the website..."
|
||||
@@ -22,7 +22,7 @@ run:
|
||||
production/deploy:
|
||||
rsync -rP --delete bin/linux_amd64 alfheim@alfheimgame.com:/home/alfheim
|
||||
rsync -P remote/production/alfheim-website.service alfheim@alfheimgame.com:/home/alfheim
|
||||
ssh -t root@alfheimgame.com 'mv /home/alfheim/alfheim-website.service /etc/systemd/system && systemctl enable alfheim-website && systemctl restart alfheim-website'
|
||||
ssh -t root@alfheimgame.com 'systemctl daemon-reload && systemctl stop alfheim-website.service && mv /home/alfheim/alfheim-website.service /etc/systemd/system && systemctl enable alfheim-website && systemctl restart alfheim-website'
|
||||
|
||||
.PHONY: production/connect
|
||||
production/connect:
|
||||
|
||||
Reference in new issue
Block a user