mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
1cc492fdb5
fluidsynth.service.in: The [Install] section [1] in systemd unit declares in which target the service will be started. The `multi-user.target` [2] - managed by the systemd _system_ service manager - is used in the `fluidsynth.service`. However, as it is a _user_ unit it needs to be pulled in by the `default.target` [3] instead, which is the main target for the user session (as started by `user@.service` [4]). [1] https://www.freedesktop.org/software/systemd/man/systemd.unit.html#%5BInstall%5D%20Section%20Options [2] https://www.freedesktop.org/software/systemd/man/systemd.special.html#multi-user.target [3] https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target1 [4] https://www.freedesktop.org/software/systemd/man/user@.service.html
15 lines
334 B
SYSTEMD
15 lines
334 B
SYSTEMD
[Unit]
|
|
Description=FluidSynth Daemon
|
|
Documentation=man:fluidsynth(1)
|
|
After=sound.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=main
|
|
EnvironmentFile=@FLUID_DAEMON_ENV_FILE@
|
|
EnvironmentFile=-%h/.config/fluidsynth
|
|
ExecStart=@CMAKE_INSTALL_PREFIX@/@BIN_INSTALL_DIR@/fluidsynth -is $OTHER_OPTS $SOUND_FONT
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|