Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,20 @@ install:
# optional DEST=destination_path
install_tls:
sudo systemctl stop $(TLS_NAME)
sudo cp $(OUTPUT)/$(TLS_NAME) $(DEST)/$(OUTPUT)
sudo cp $(OUTPUT)/$(TLS_NAME) $(DEST)/$(OUTPUT)/$(TLS_NAME)
sudo systemctl start $(TLS_NAME)

# Install API server and restart service
# optional DEST=destination_path
install_api:
sudo systemctl stop $(API_NAME)
sudo cp $(OUTPUT)/$(API_NAME) $(DEST)/$(OUTPUT)
sudo cp $(OUTPUT)/$(API_NAME) $(DEST)/$(OUTPUT)/$(API_NAME)
sudo systemctl start $(API_NAME)

# Install CLI
# optional DEST=destination_path
install_cli:
sudo cp $(OUTPUT)/$(CLI_NAME) $(DEST)/$(OUTPUT)
sudo cp $(OUTPUT)/$(CLI_NAME) $(DEST)/$(OUTPUT)/$(CLI_NAME)

# Install frontend
# optional DEST=destination_path
Expand Down Expand Up @@ -296,7 +296,7 @@ docker_dev_rebuild_api:

# Deploy osctrl in a single server using the provision.sh script
provision_dev:
./deploy/provision.sh -m prod -s /home/$(DEV_USER)/osctrl -t self -p all --nginx --postgres -E -R --tls-hostname "$(DEV_IP)" --admin-hostname "$(DEV_IP)" --api-hostname "$(DEV_IP)" -X admin
./deploy/provision.sh -m "$(DEV_ENV)" -s /home/$(DEV_USER)/osctrl -t self -p all --nginx --postgres -E -R --tls-hostname "$(DEV_IP)" --admin-hostname "$(DEV_IP)" --api-hostname "$(DEV_IP)" -X admin

# Run linter
lint:
Expand Down
191 changes: 0 additions & 191 deletions deploy/config/admin.yml

This file was deleted.

2 changes: 1 addition & 1 deletion deploy/config/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Restart=on-failure
RestartSec=10

WorkingDirectory=_DEST
ExecStart=_DEST/_NAME _ARGS
ExecStart=_DEST/bin/_NAME _ARGS

# make sure log directory exists and owned by syslog
PermissionsStartOnly=true
Expand Down
2 changes: 2 additions & 0 deletions deploy/docker/conf/nginx/osctrl.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TLS service
server {
listen 443 ssl default deferred;

Expand Down Expand Up @@ -52,6 +53,7 @@ server {

}

# API service
server {
listen 8444 ssl deferred;

Expand Down
Loading
Loading