1 2 3 4 5 6 7 8 9 10
#!/bin/sh # deb postinst 2017-01-26 thisservice=keepalive.service { systemctl daemon-reload systemctl enable ${thisservice} systemctl start ${thisservice} } 1>/dev/null 2>&1 exit 0