I'm trying to set up a systemd service for fluidsynth, but the following file, saved as /etc/systemd/system/fluidsynth.service doesn't work:
### [Unit] Description=FluidSynth Synthesizer After=syslog.target [Service] ExecStart=/usr/bin/fluidsynth -s -a alsa /usr/share/sounds/sf2/FluidR3_GM.sf2 Restart=restart-always [Install] WantedBy=multi-user.target #### # systemctl daemon-reload # systemctl start fluidsynth.service # systemctl status fluidsynth.service fluidsynth.service - FluidSynth Synthesizer Loaded: loaded (/etc/systemd/system/fluidsynth.service; disabled) Active: inactive (dead) set 28 21:48:22 fede-xps systemd[1]: Started FluidSynth Synthesizer. set 28 21:48:22 fede-xps fluidsynth[26732]: fluidsynth: warning: Requested a period size of 64, got 940 instead set 28 21:48:22 fede-xps fluidsynth[26732]: fluidsynth: warning: Requested 16 periods, got 8 instead set 28 21:48:22 fede-xps fluidsynth[26732]: FluidSynth version 1.1.6 set 28 21:48:22 fede-xps fluidsynth[26732]: Copyright (C) 2000-2012 Peter Hanappe and others. set 28 21:48:22 fede-xps fluidsynth[26732]: Distributed under the LGPL license. set 28 21:48:22 fede-xps fluidsynth[26732]: SoundFont(R) is a registered trademark of E-mu Systems, Inc. set 28 21:48:22 fede-xps fluidsynth[26732]: Type 'help' for help topics. set 28 21:48:22 fede-xps fluidsynth[26732]: > set 28 21:51:10 fede-xps systemd[1]: [/etc/systemd/system/fluidsynth.service:7] Failed to parse service restart specifier, ig...-always Hint: Some lines were ellipsized, use -l to show in full.