Subj : systemctl service w/ mis help... To : All From : paulie420 Date : Mon Jan 18 2021 20:13:36 Hey guys... I'd love if someone could drop that knowledge on me. I know exactly whats happening, but... I just don't fully understand how to fix it. So... I created some systemctl services for running Mystic and MRC Chat at boot time, to keep them running in case mis or MRC drop for any reason, and to put the BBS back up if theres ever an unplanned reboot... OK. Problem, I have to run the script as sudo. So... Any MPL that I have calling an external shell command won't work, permissions. DoorParty scripts, BBSLink scripts - anything thats like a shell script won't work. It throws me a permissions error. Which I just don't understand because - if I'm running as sudo, and the owner of the file is 'pi', doesn't sudo trump that?? Anyway... I just stopped the service and loaded ./mis server the normal way, for now... because I don't want things broken until I figured it out. :/ But... what do I need to change to get it all ironed out? I *could* just edit my MPL files and insert 'sudo' - then the commands/scripts will run, but... I was testing and I can't just add 'sudo' onto the doorparty script directly from a Mystic menu command. It doesn't work, and that would be a stupid idea anyway. Anyone ran into this before, or can think thru it better than I? Everything was perfect but then I created systemctl services for mis and MRC. Have to run mis as sudo... now my extrenal shell scripts/commands don't work because I don't have permissions. Thanks much guys... I'm back to running without any systemctl; so that was a big 'for nothing' so far. I followed the vswitchzero.com/mystic-systemd how-to... and the scripts were GREAT. But; you have to run mis as sudo. Hmph. Help, pls. |07p|15AULIE|1142|07o |08......... --- Mystic BBS v1.12 A47 2021/01/16 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150) .