jellyfin/rpm-package/restart.sh
Thomas Büttner a2c1ec0de3 Add RPM package spec
Signed-off-by: Thomas Büttner <thomas@tartaros.tech>
2019-01-05 11:14:24 +01:00

6 lines
157 B
Bash
Executable File

#!/bin/sh
NAME=jellyfin
restart_cmd="/usr/bin/systemctl restart ${NAME}"
echo "sleep 2; sudo $restart_cmd > /dev/null 2>&1" | at now > /dev/null 2>&1
exit 0