Skip to content

Commit

Permalink
contrib/ubuntu_installer.sh: fix systemd scripts
Browse files Browse the repository at this point in the history
Currently these scripts are misconfigured and will not actually launch on startup when enabled. This patch corrects this misconfiguration.
  • Loading branch information
Lunaphied authored Dec 12, 2021
1 parent ee9c53d commit a600810
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/ubuntu_installer/ubuntu_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ EOF
[Unit]
Description=Project Lightspeed ingest service
After=network-online.target
Wants=network-online.target
[Service]
TimeoutStartSec=0
Environment=LS_INGEST_ADDR=${IP_ADDRESS}
Expand All @@ -136,7 +136,7 @@ Restart=always
RestartSec=60
[Install]
WantedBy=network-online.target
WantedBy=multi-user.target
EOF

## Create systemd service for webrtc:
Expand All @@ -145,7 +145,7 @@ EOF
[Unit]
Description=Project Lightspeed webrtc service
After=network-online.target
Wants=network-online.target
[Service]
TimeoutStartSec=0
Environment=IP_ADDRESS=${WEBRTC_IP_ADDRESS}
Expand All @@ -154,7 +154,7 @@ Restart=always
RestartSec=60
[Install]
WantedBy=network-online.target
WantedBy=multi-user.target
EOF

## Install and start services:
Expand Down

0 comments on commit a600810

Please sign in to comment.