NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Sep 21, 2014TeamSpeak3 autostart + frontend (webadmin)
HI, CHECK THE LAST POST DIRECTLY, THANKS.
viewtopic.php?f=153&t=77743#p438777
viewtopic.php?f=153&t=77743#p438777
5 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredDoes doing
# touch /apps/teamspeak3/.localapp
make any difference? - mdgm-ntgrNETGEAR Employee RetiredAlso if you want it to be started like an app you would need it to be started via systemd.
I would suggest you have a look at the SDK on apps.readynas.com - Retired_MemberHello im back with minor update:
I have made it working, by adding new file "teamspeak3.service" into directory "/lib/systemd/system":
[Unit]
Description=Teamspeak 3
After=apache2.service
[Service]
WorkingDirectory=/apps/teamspeak3
ExecStart=/apps/teamspeak3/ts3server_startscript.sh start
Type=forking
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
Altought i dont understand few parameters like "After', "Type" and "Restart", i copied them from Apache2 service and it works perfect.
Along with config.xml contained in "/apps/teamspeak3":<Application resource-id="teamspeak3"><!-- 'resource-id' must be AppName -->
<Category>APP_CAT_MEDIA</Category>
<Name>TeamSpeak 3</Name><!-- Any desciptive name, upto 48 chars -->
<Author>TeamSpeak Systems</Author><!-- Authers name. upto 48 chars -->
<Version>1.0.0</Version><!-- Version -->
<MinFirmwareVer>6.1.3</MinFirmwareVer>
<RequireReboot>0</RequireReboot><!-- If non-zero, it indicate reboot is required. -->
<LaunchURL>http://localhost/</LaunchURL><!-- 'localhost' will be replaced by framework JS. -->
<ConfigURL></ConfigURL>
<ReservePort>9987</ReservePort>
<DebianPackage>teamspeak3</DebianPackage>
<ServiceName>teamspeak3.service</ServiceName><!-- If start/stop need to start/stop service, specify service name -->
<Description lang="en-us">TeamSpeak 3</Description>
</Application>
NOW I CAN SWITCH APP ON AND OFF FROM THE WEBADMIN. And it works perfect. Also app autostarts with every system reboot, like i wanted.
Only minor problem is, that i dont see an application logo in webadmin, altought i have copied file "logo.png" from other application into "/apps/teamspeak3", but the picture doesnt show up in webadmin. Any tip how to fix it?
- Retired_MemberI have discovered that some of other application's files are also located in "./apps/.freeapps" directory, but when i have copied "config.xml" and "logo.png" into new "teamspeak3" directory, it didnt worked. Logo ("logo.png") is still not showing up in frontend (webadmin). Also after NAS restart, it didn't worked. Folder "teamspeak3" was located also in "./data/.apps/.freeapps: where i have checked this. Could someone help a little?
- Retired_MemberHello, i would like really know.. answer. I thought, that local ReadyNAS OS gurus are most wise :-D and this looks so easy, but im stuck with that problem in previous post.
If you would not want to release such a guide/hint for public, i can also accept private message. I only miss Teamspeak logo there, that's the whole thing, it is only for my personal purpose. And i cant figure this out.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!