mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
19 lines
557 B
Plaintext
Executable File
19 lines
557 B
Plaintext
Executable File
# tautulli
|
|
#
|
|
# This is a session/user job. Install this file into /usr/share/upstart/sessions
|
|
# if Tautulli is installed system wide, and into $XDG_CONFIG_HOME/upstart if
|
|
# Tautulli is installed per user. Change the executable path appropiately.
|
|
|
|
start on desktop-start
|
|
stop on desktop-end
|
|
|
|
env CONFIG=""$XDG_CONFIG_HOME"/Tautulli"
|
|
env DATA=""$XDG_DATA_HOME"/Tautulli"
|
|
|
|
pre-start script
|
|
[ -d "$CONFIG" ] || mkdir -p "$CONFIG"
|
|
[ -d "$DATA" ] || mkdir -p "$DATA"
|
|
end script
|
|
|
|
exec Tautulli.py --nolaunch --config "$CONFIG"/config.ini --datadir "$DATA"
|