Skip to content

Configure Ubuntu Linux to auto start DSA server

Ilya Tsarev edited this page Feb 11, 2020 · 2 revisions

This instruction assumes that your Ubuntu Linux is using systemd service to manage applications.

1. Create a system service for DSA

sudo nano /etc/systemd/system/dsa.service

2. Copy and paste the following script into this file.

[Unit]
Description=DSA
After=syslog.target network.target

[Service]
LimitNOFILE=65535
Type=forking
ExecStart=/opt/dsa/dglux-server/bin/daemon.sh start
ExecReload=/opt/dsa/dglux-server/bin/daemon.sh restart
ExecStop=/opt/dsa/dglux-server/bin/daemon.sh stop

[Install]
WantedBy=multi-user.target

Important! Make sure to verify paths to your daemon.sh file above. It is the same directory where you installed DSA. Save the file and continue.

3. Enable auto-start

sudo systemctl enable dsa

4. Start DSA service

sudo service dsa start

Protocol
 ◌ Design
 ◌ Initializing Connection
 ◌ Node API
  ◌ Methods
  ◌ Broker
   ◌ Broker Discovery
  ◌ Configs
  ◌ Value Types
 ◌ Tokens
 ◌ Quality of Service
DSLink Manager
 ◌ dslink.json
 ◌ Startup Command
SDK Development
 ◌ Implementation Guide
DSA Server
 ◌ Installation
 ◌ Update Server
 ◌ Server Configuration
 ◌ CLI Tools
 ◌ DSA Permission Basics
 ◌ DSA Permission Model
  ◌ Permission List for the Root
 ◌ Authentication
  ◌ OpenID Connect
  ◌ Password Hasher
 ◌ DGLux Server SSL (HTTPS)
 ◌ Docker
 ◌ Audit
 ◌ Data Node
 ◌ Install NGINX with DSA Server
 ◌ Configure Ubuntu Linux to auto start DSA server
 ◌ Troubleshooting

Clone this wiki locally