File: fluidsynth.service.in

package info (click to toggle)
fluidsynth 2.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,636 kB
  • sloc: ansic: 45,266; cpp: 4,718; xml: 853; sh: 205; makefile: 72
file content (35 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download
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
35
[Unit]
Description=FluidSynth Daemon
Documentation=man:fluidsynth(1)
After=sound.target
After=pipewire.service pulseaudio.service
Wants=pipewire.service pulseaudio.service
# If you need more than one instance, use `systemctl edit` to override this:
ConditionPathExists=!/run/lock/fluidsynth/fluidsynth.lock
ConditionUser=!@system

[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
# end of automatic additions
# required in order for the above sandboxing options to work on a user unit
PrivateUsers=yes
Type=notify
NotifyAccess=main
Environment=OTHER_OPTS= SOUND_FONT=
EnvironmentFile=@FLUID_DAEMON_ENV_FILE@
EnvironmentFile=-%h/.config/fluidsynth
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/fluidsynth -is $OTHER_OPTS "${SOUND_FONT}"
ExecStartPre=touch /run/lock/fluidsynth/fluidsynth.lock
ExecStopPost=rm -f /run/lock/fluidsynth/fluidsynth.lock

[Install]
WantedBy=default.target