[Unit] Description=soundsync [Service] Type=simple User=root Group=root # Load env vars from /etc/default/ and /etc/sysconfig/ if they exist. # Prefixing the path with '-' makes it try to load, but if the file doesn't # exist, it continues onward. EnvironmentFile=-/etc/default/soundsync ExecStart=/usr/bin/soundsync "--configDir" "/etc/soundsync" Restart=always WorkingDirectory=/ [Install] WantedBy=multi-user.target