linamh/net-im/franz/files/franz
2021-06-30 18:45:43 +02:00

13 lines
280 B
Bash
Executable File

#!/bin/sh
SCRIPT=$(readlink -f "$0")
USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..)
FRANZ_PATH=/opt/Franz/franz
FRANZ_LOGS="$HOME/.config/Franz/logs"
mkdir -p $FRANZ_LOGS
nohup "$FRANZ_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$FRANZ_LOGS/franz-startup.log" 2>&1 &