Skip to content

Commit

Permalink
Configure private server in debian headless
Browse files Browse the repository at this point in the history
  • Loading branch information
ann0see committed Jan 25, 2021
1 parent 4ebacb5 commit 50fb76c
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions distributions/debian/jamulus-headless.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,26 @@ StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=jamulus
ExecStart=/bin/sh -c '/usr/bin/jamulus-headless -s -n --servername $(uname -n) -l /var/log/jamulus -e jamulus.fischvolk.de -g -o "$(uname -n);;"'
Group=nogroup
NoNewPrivileges=true
ProtectSystem=true
ProtectHome=true
Nice=-20
IOSchedulingClass=realtime
IOSchedulingPriority=0

#### Change this to publish this server, set genre, location and other parameters.
#### See https://jamulus.io/wiki/Command-Line-Options ####
ExecStart=/bin/sh -c '/usr/bin/jamulus-headless -s -n'


Restart=on-failure
RestartSec=30
StandardOutput=journal
StandardError=inherit
SyslogIdentifier=jamulus


[Install]
WantedBy=multi-user.target

0 comments on commit 50fb76c

Please sign in to comment.