Since I can't find any useful documentation on how to write shutdown/startup scripts for systemd itself, still using the following in scripts

### BEGIN INIT INFO
# Provides: somedaemon
# Required-Start:
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 6
# Description:
### END INIT INFO

Startup works fine after place somedaemon script into /etc/init.d and executing : systemctl enable somedaemon ; systemctl start somedaemon
shutdown execution does not seem to work so well, in face it isn't getting shutdown. Is there something simple I'm missing?

Thanks,
matt