I saw this and this and get that I would need something like /etc/apt//custom-hooks with a path to a script but not seeing how to: a) pass a list of last installed packages or b) find out which packages were just installed by apt. 1 18:24:53 stanek.94 Member Registered: Posts: 3 Hello. when apt etc installs a new version of teamviewer which presumably reinstalls the systemd service and *.desktop files, I would like to have it automatically run a script to "fix" those things). Is there a way in apt to specify a post-install script for a particular package. If I were going to keep the systemd service file around for better compat, is there a way to configure the service file to still have the service enabled but NOT to run on startup but still allow it to be manually controlled via sudo systemctl teamviewerd ? seems like this could be bad if the gui process were to interface with the service process using systemd calls. I could probably just remove the service file and use a bash wrapper script just before/after the gui process starts/ends vs just launching its 'ExecStart' args directly. I don't mind hacking out a new bash script to start the service just before launching the gui but I'm not great with editing systemd services and had a concern about new versions overwriting my changes. Description: All-In-One Software for Remote Support and Online Meetings. I am seeing that the systemd service file has: $ cat /etc/systemd/system/rviceĭescription = TeamViewer remote control daemonĪfter = network.target network-online.target rviceĮxecStart = /opt/teamviewer/tv_bin/teamviewerd -dĪnd the service autostarts during login which I don't want. Git Clone URL: (read-only, click to copy) Package Base: teamviewer11. In Linux, I have TeamViewer 15 (installed via deb file from official site). On Windows, this is fairly easy to do from the Services dialog by selecting the TeamViewer and changing its "Startup Type" from "Automatic" to "Manual". I am on Linux Mint 19.3 and would like to make the TeamViewer systemd service only run when I launch the GUI app ( /opt/teamviewer/tv_bin/script/teamviewer).
0 Comments
Leave a Reply. |