X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/8b0990bf3f0e2dffec5fb56c2602aabfe87f542c..f682f97b1a63a82bba58bd24e013600a934c7c74:/install/cadbury.service.sh diff --git a/install/cadbury.service.sh b/install/cadbury.service.sh index 2ea22fb..016f5b1 100755 --- a/install/cadbury.service.sh +++ b/install/cadbury.service.sh @@ -4,5 +4,12 @@ rm ~/.config/systemd/user/$ADD_SRV.service ln -s ~/dotfiles/files/autostart/$ADD_SRV.service ~/.config/systemd/user/ ls -al ~/.config/systemd/user systemctl --user daemon-reload + +# User environment variables required for Cadbury +systemctl --user import-environment MATRIX_SERVER +systemctl --user import-environment MATRIX_BOT +systemctl --user import-environment MATRIX_BOT_PWD +systemctl --user import-environment MATRIX_DATA_DIR + systemctl --user enable $ADD_SRV.service systemctl --user status $ADD_SRV.service