On the DRY principle, rather than make a bunch of slightly different systemd configurations, I'd rather use one, symlinked or hard linked to different names like
With SysV initscripts, I can use
$0 to determine the name of the start script, with Upstart
.conf files there's the
$UPSTART_JOB automatic variable, but I've been searching the documentation for systemd for something similar with no success. Any ideas?