mirror of
https://github.com/tanrax/bash-folders.git
synced 2024-12-22 18:25:35 +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
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
User=[user]
|
User=[user]
|
||||||
Group=[user]
|
|
||||||
WorkingDirectory=/home/[user]
|
|
||||||
ExecStart=dynamic-folders-video-optimizer --folder [folder to watch]
|
ExecStart=dynamic-folders-video-optimizer --folder [folder to watch]
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
# START
|
# START
|
||||||
set -e
|
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
|
# VARIABLES
|
||||||
PROGNAME=$(basename "$0")
|
PROGNAME=$(basename "$0")
|
||||||
FOLDER_ORIGIN="$2"
|
FOLDER_ORIGIN="$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user