forked from CarloCattano/mod-PiSound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod-ui.service
34 lines (31 loc) · 963 Bytes
/
mod-ui.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[Unit]
Description=MOD-UI
After=mod-host.service
After=browsepy.service
Requires=mod-host.service
Requires=browsepy.service
[Service]
LimitRTPRIO=95
LimitMEMLOCK=infinity
User=raspberryUsername
Group=audio
AmbientCapabilities=CAP_NET_BIND_SERVICE
Environment=JACK_PROMISCUOUS_SERVER=jack
Environment=HOME=/home/raspberryUsername/
Environment=LV2_PATH=/home/raspberryUsername/.lv2
Environment=LV2_PLUGIN_DIR=/home/raspberryUsername/.lv2
Environment=LV2_PEDALBOARDS_DIR=/home/raspberryUsername/data/pedalboards
Environment=MOD_DEV_ENVIRONMENT=0
Environment=MOD_DEVICE_WEBSERVER_PORT=80
Environment=MOD_LOG=0
Environment=MOD_APP=0
Environment=MOD_LIVE_ISO=0
Environment=MOD_SYSTEM_OUTPUT=1
Environment=MOD_DATA_DIR=/home/raspberryUsername/data
Environment=MOD_USER_FILES_DIR=/home/raspberryUsername/data/user-files
Environment=MOD_HTML_DIR=/usr/local/share/mod/html
ExecStart=/usr/local/bin/mod-ui
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target