diff --git a/confluence-companion-app-for-linux.install b/confluence-companion-app-for-linux.install new file mode 100644 index 0000000..c34708d --- /dev/null +++ b/confluence-companion-app-for-linux.install @@ -0,0 +1,7 @@ +post_install() { + echo "" + echo "confluence-companion has been installed." + echo "To start the Companion app now and at login, run" + echo " $ systemctl --user enable --now confluence-companion-app-for-linux.service" + echo "" +} diff --git a/confluence-companion-app-for-linux.service b/confluence-companion-app-for-linux.service new file mode 100644 index 0000000..1b00d27 --- /dev/null +++ b/confluence-companion-app-for-linux.service @@ -0,0 +1,10 @@ +[Unit] +Description=Confluence Companion App for Linux + +[Service] +Environment="DISPLAY=:0" +Environment="XAUTHORITY=%h/.Xauthority" +ExecStart=/usr/bin/companion.py + +[Install] +WantedBy=graphical.target