jellyfin/deployment/fedora-package-x64/pkg-src/restart.sh
2019-06-08 19:56:08 +02: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