#!/usr/bin/bash case "$2" in up) systemctl start crashplan ;; down) systemctl stop crashplan ;; esac