Commit 4ce41551 authored by David Trattnig's avatar David Trattnig
Browse files

First implementation of separated unit files. #21

parent acffd9be
[Unit]
Description=Aura Engine - Playout Server
After=network.target
Documentation=https://gitlab.servus.at/aura/engine
Requires=aura-engine-lqs.socket
[Service]
Type=simple
User=engineuser
WorkingDirectory=/opt/aura/engine
ExecStart=/opt/aura/engine/run.sh core
ExecStop=/opt/aura/engine/guru.py --shutdown --quiet
Restart=always
[Install]
WantedBy=multi-user.target
Alias=aura-engine-core.service
\ No newline at end of file
[Unit]
Description=Aura Engine - Liquidsoap
After=network.target
Documentation=https://gitlab.servus.at/aura/engine
;StandardInput=socket
[Service]
Type=simple
User=engineuser
WorkingDirectory=/opt/aura/engine
ExecStart=/opt/aura/engine/run.sh lqs
Restart=always
[Install]
; WantedBy=multi-user.target
WantedBy=sockets.target
Alias=aura-engine-lqs.service
[Socket]
ListenStream=/opt/aura/engine/modules/liquidsoap/engine.sock
Accept=false
[Install]
WantedBy=sockets.target
\ No newline at end of file
......@@ -229,6 +229,10 @@ Copy the unit file `/opt/aura/engine/configuration/systemd/aura-engine.service`
This unit file starts engine-core and engine-liquidsoap within one command. Here Liquidsoap is started as
as subprocess.
> Please note not to use any other unit files in that directory yet. They are work in progress.
Now you'll need to reload the Systemd unit files
```shell
sudo systemctl daemon-reload
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment