Author Topic: teamviewerd breaks systemd-shutdown  (Read 15743 times)

midixinga

  • Newbie
  • *
  • Posts: 10
teamviewerd breaks systemd-shutdown
« on: October 26, 2014, 08:42:48 AM »
Hi,

when teamviewer daemon is enabled, I can't shutdown properly; after stopping ACPI Daemon systemd (v216.3) tells me "A stop job is running" for teamviewer remote control daemon.
After 90 seconds (I think systemd timeout) the system is shutting down.

This is the content of /usr/lib/systemd/system/teamviewerd.service:
Code: [Select]
[Unit]
Description = TeamViewer remote control daemon
Wants = display-manager.service
After = NetworkManager-wait-online.service network.target

[Service]
Type = forking
PIDFile = /var/run/teamviewerd.pid
ExecStart = /opt/teamviewer9/tv_bin/teamviewerd -d
Restart = on-abort
StartLimitInterval = 60
StartLimitBurst = 10

[Install]
WantedBy = graphical.target

Any idea or suggestions ?

« Last Edit: October 26, 2014, 09:01:23 AM by midixinga »

midixinga

  • Newbie
  • *
  • Posts: 10
Re: teamviewerd breaks systemd-shutdown
« Reply #1 on: October 27, 2014, 07:15:59 AM »
Workaround:

I inserted:

TimeoutStopSec=5
below [Service] in the unit-file

alphacompnet

  • Newbie
  • *
  • Posts: 1
Re: teamviewerd breaks systemd-shutdown
« Reply #2 on: May 15, 2015, 11:46:03 AM »
Helpful to anyone who has to use TeamViewer9 still:
On Lubuntu, I had to have a lowercase "s" after the seconds value!!! Example:

Code: [Select]
TimeoutStopSec=5s
Without this, the OS refused to recognize the Timout value as 5 seconds. Kind of stupid, since the very name has "Sec" in it. -A