X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/195678cce649a0587308e6cdd9ef296b0803a478..1d403e3abfd923403559dfa4bc0437922f91b595:/install/cadbury.service.sh?ds=sidebyside diff --git a/install/cadbury.service.sh b/install/cadbury.service.sh index dcb1216..016f5b1 100755 --- a/install/cadbury.service.sh +++ b/install/cadbury.service.sh @@ -4,8 +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