#!/bin/bash if [ "$1" = 'start' -o "$1" = 'stop' -o "$1" = 'restart' ] ; then service $2 $1 elif [ "$1" = 'reload-or-restart' ] ; then service $2 restart else systemctl.original $* fi