diff options
author | Erich Eckner <git@eckner.net> | 2021-02-05 22:53:50 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-02-05 22:53:50 +0100 |
commit | 524ef2b6d9e5922a54de8257d232cadc319ca04c (patch) | |
tree | 6e26111d695a01e1bb27a246bdeedfa3f12d13ae /jamulus-headless/jamulus.service | |
parent | 539e73506eba647c100b70e4aa44eca562de12b8 (diff) | |
download | archlinuxewe-524ef2b6d9e5922a54de8257d232cadc319ca04c.tar.xz |
jamulus-headless new
Diffstat (limited to 'jamulus-headless/jamulus.service')
-rw-r--r-- | jamulus-headless/jamulus.service | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/jamulus-headless/jamulus.service b/jamulus-headless/jamulus.service new file mode 100644 index 000000000..0a0caeed5 --- /dev/null +++ b/jamulus-headless/jamulus.service @@ -0,0 +1,29 @@ +[Unit] +Description=Jamulus-Server +After=network.target + +[Service] +Type=simple +User=jamulus +Group=nobody +NoNewPrivileges=true +ProtectSystem=true +ProtectHome=true +Nice=-20 +IOSchedulingClass=realtime +IOSchedulingPriority=0 +Environment=central_server="jamulus.fischvolk.de" +Environment=server_info="yourServerName;yourCity;[country ID]" + +#### Change this to set genre, location and other parameters. +#### See https://github.com/corrados/jamulus/wiki/Command-Line-Options #### +ExecStart=/usr/bin/Jamulus-headless -s -n -e "${central_server}" -o "${server_info}" + +Restart=on-failure +RestartSec=30 +StandardOutput=journal +StandardError=inherit +SyslogIdentifier=jamulus + +[Install] +WantedBy=multi-user.target |