View previous topic :: View next topic |
Author |
Message |
holyspirit82 n00b
Joined: 12 Apr 2021 Posts: 20
|
Posted: Sun Jun 27, 2021 3:59 am Post subject: net-misc/teamviewer |
|
|
im running systemd and have had trouble start the teamviwerd daemon
the bug reposrt says you need to patch the systemd unit file as below
The systemd unit file must be patched:
Code: |
[Unit]
Description = TeamViewer remote control daemon
After = network.target network-online.target dbus.service
Wants = network-online.target
Requires = dbus.service
[Service]
Type = forking
PIDFile = /var/run/teamviewerd.pid
-ExecStart = /opt//tv_bin/teamviewerd -d
+ExecStart = /opt/teamviewer15/tv_bin/teamviewerd -d
Restart = on-abort
StartLimitInterval = 60
StartLimitBurst = 10
[Install]
WantedBy = multi-user.target
|
but im not sure how to do this
some help would be appreciated
thanks
----------------
so i did
systemctl edit teamviewerd.service
and entered the unit file information but the daemon is still not starting
Code: |
teamviewerd.service: Failed at step EXEC spawning /opt/tv_bin/teamviewerd: No such file or directory
Control process exited, code=exited, status=203/EXEC
failed to start TeamViewer remote control daemon
|
[Moderator edit: Moved poster's self-response into main post, then deleted that self-response to return the thread to the unanswered list.
OP: Generally, if post length permits, you should edit extra information into your first post instead of replying to it. Some users run a canned search for threads with zero replies as a way of finding posts to answer. When you replied to yourself, you removed your thread from that list, even though you were not replying to announce that the thread was solved. Thus, they would no longer see your thread on the list of unanswered threads.
-Hu] |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21522
|
Posted: Sun Jun 27, 2021 3:30 pm Post subject: Re: net-misc/teamviewer |
|
|
holyspirit82 wrote: | the bug reposrt says you need to patch the systemd unit file as below | What bug report? You did not link to it, nor provide a bug number. I see 4 open Gentoo bugs about teamviewer, none of which seem relevant to your request.
holyspirit82 wrote: | The systemd unit file must be patched: | That looks like a standard patch, usable by GNU patch. You can probably use the /etc/portage/patches mechanism to apply it. holyspirit82 wrote: | systemctl edit teamviewerd.service | Generally, you should not do this. Although the change may be written to /etc where it would be protected by CONFIG_PROTECT, you would still get an attempted configuration file change on your next merge, which you would then need to resolve. Instead, you should patch the file as part of the build. holyspirit82 wrote: | Code: | teamviewerd.service: Failed at step EXEC spawning /opt/tv_bin/teamviewerd: No such file or directory |
| That looks like your edit was ignored. The path in the error is the old one. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|