mirror of
https://github.com/tanrax/bash-folders.git
synced 2024-12-22 10:15:36 +01:00
Fix gui
This commit is contained in:
parent
b89956da3f
commit
ec947ecc5b
@ -58,8 +58,6 @@ Description=Folder that watches when new videos are added to a folder and optimi
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
User=[user]
|
||||
Group=[user]
|
||||
WorkingDirectory=/home/[user]
|
||||
ExecStart=dynamic-folders-video-optimizer --folder [folder to watch]
|
||||
|
||||
[Install]
|
||||
|
@ -12,6 +12,10 @@
|
||||
# START
|
||||
set -e
|
||||
|
||||
# EXPORTS
|
||||
# Fix: notify-send command doesn't launch the notification through systemd service
|
||||
export DBUS_SESSION_BUS_ADDRESS="${DBUS_SESSION_BUS_ADDRESS:-unix:path=/run/user/${UID}/bus}"
|
||||
|
||||
# VARIABLES
|
||||
PROGNAME=$(basename "$0")
|
||||
FOLDER_ORIGIN="$2"
|
||||
|
Loading…
Reference in New Issue
Block a user