Hey guys,
thank you for your great work! I was very excited to try out this CP. Excuse me to write in english, I find it more reasonable than using google translator.
However, sadly I'm facing some trouble. My major problem is the rtorrent restart. I'm running a multi-user script which also is designed to restart rtorrent and irssi via rt stop/rt start/rt restart per user, ince my users don't have SSH access. I tried the restart method of your CP and ended up by rtorrent not being able to start until I reinstalled it. I checked all available files and ended up at /source-reboot-rtorrent/kill.c and reboot.c.
I have no clue of PHP tbh so I just tried editing it like a newb ending up at:
void rtorrent_kill (char nickname[])
#snprintf(chaine, 100, "killall --user %s rtorrent\n", nickname);
snprintf(chaine, 100, "rt stop --user %s\n");
#void screen_kill (char nickname[])
#commmented out
void reboot (char nickname[])
#snprintf(chaine, 100, "service %s-rtorrent start\n", nickname);
snprintf(chaine, 100, "rt start\n");
It didn't work ofc so I hope you're able to help me. Important is just that this command is run in the name of the user.
I also have some other issues which are just important when restart works. Like showing correct users space by quota limit and replacing Fileziilla with Cyberduck.
I hope you can enlighten me.
Thx in advance.