Welcome to the future, whether we like or not.
Service files should provide functionality similar to the current init
scripts. Current no service monitoring is implemented (if possible,
regularly `domtool-admin ping'ing service and restarting if no response
would be nice).
/var/log/domtool.log is gone, replaced by use of the system journal.
--- /dev/null
+[Unit]
+Description=Domtool Dispatcher
+After=network.target remote-fs.target time-sync.target openafs-client.service nss-lookup.target
+Requires=network.target remote-fs.target time-sync.target openafs-client.service nss-lookup.target
+
+[Service]
+User=domtool
+Group=nogroup
+ExecStart=/usr/bin/k5start -qtUf /etc/keytabs/domtool -K 300 /usr/local/sbin/domtool-server
+ExecStop=/usr/bin/k5start -qtUf /etc/keytabs/domtool /usr/local/bin/domtool-admin shutdown
+SyslogIdentifier=domtool-server
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
--- /dev/null
+[Unit]
+Description=Domtool Worker
+After=network.target remote-fs.target time-sync.target openafs-client.service nss-lookup.target
+Requires=network.target remote-fs.target time-sync.target openafs-client.service nss-lookup.target
+
+[Service]
+User=domtool
+Group=nogroup
+ExecStart=/usr/bin/k5start -qtUf /etc/keytabs/domtool -K 300 /usr/local/sbin/domtool-slave
+ExecStop=/usr/bin/k5start -qtUf /etc/keytabs/domtool /usr/local/bin/domtool-admin slave-shutdown
+SyslogIdentifier=domtool-slave
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file