I really like systemd. But because not all upstream projects are aware that systemd is around for quite some time now, there are often some manual interventions needed to get services started in a non-default way.
dropbear is such a piece of software. I want to run
dropbear on port 222. The Fedora package provides *.service file. So far so good. Let’s have a closer look…
$ cat /usr/lib/systemd/system/dropbear.service
Description=Dropbear SSH Server Daemon
How do I pass $OPTIONS? Easy just edit /etc/sysconfig/dropbear. Hmm, no such file. Well, create it and add:
Now you are good to go.