@Russ I love you. ️
Posts made by Avishai Algrisi
-
RE: How do you load Triggercmd on boot on Ubuntu?
@Russ
Hey Russ,Thank you for replying.
The docker container works, forgot to mention I'm with arm processor.one more thing please if you can, I had this problem in the past but I don't remember what I did that it worked.
After adding the token, the container register in the website successfully but it shows only "Gnome Editor" while my "/root/.TRIGGERcmdData/commands.json" looks like this:
# find / -iname commands.json /root/.TRIGGERcmdData/commands.json # cat /root/.TRIGGERcmdData/commands.json [ {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"}, {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"}, {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"}, {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"}, {"trigger":"startpc","command":"etherwake -i eth0 B4:2E:99:A1:DF:CB","ground":"background","voice":"startpc","allowParams":"false"} ] #
All I care here of course is the last one
-
RE: How do you load Triggercmd on boot on Ubuntu?
@Russ
Hey,I'm using ubuntu container on QNAP when running the .sh it says the following:
avishai@ubuntu:~$ sudo /usr/share/triggercmdagent/app/src/installdaemon.sh
node[680]: pthread_create: Invalid argument
Daemon install: true
Logging in with saved token.
Checking if the 64dd4da843f3df001afa9817 computer exists.
This computer exists in your account.
System has not been booted with systemd as init system (PID 1). Can't operate.
System has not been booted with systemd as init system (PID 1). Can't operate.
Configuration file /etc/systemd/system/triggercmdagent.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Created symlink /etc/systemd/system/default.target.wants/triggercmdagent.service → /etc/systemd/system/triggercmdagent.service.
System has not been booted with systemd as init system (PID 1). Can't operate. -
RE: commands.json | only gnome is loaded to website
Now it's working.
All I did was "giving up" for today.I have restarted debian and checked the site and only gnome was there.
and from that moment I was watching some videos on youtube and posted this topic.and after like 30 minutes when I went back to the website I saw all the commands.
Probably I've just needed to wait.
-
commands.json | only gnome is loaded to website
Hey,
This is my commands.json content:
[ {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"}, {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"}, {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"}, {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"}, {"trigger":"startpc","command":"etherwake -i ens32 50:E5:49:E9:0F:6F","ground":"background","voice":"startpc","allowParams":"false"} ]
and for some reason only the Gnome Editor is loaded to the website.
I'm running Debian 10I'm trying like 2 hours now.
Do you have any idea what am I doing wrong maybe?