kyonshi,
@kyonshi@dice.camp avatar

I don't know if and me are gonna be friends anytime soon.

it never does what it is supposed to do. what was wrong with simple cron jobs? I liked cron jobs. put stuff in, let run at time. simple. but systemd?

what the hell's a $DBUS_SESSION_BUS_ADDRESS?! why does this service need a $XDG_RUNTIME_DIR?!

and now that I have solved those issues it still doesn't want to run. gaaaaah.

throws systemd out of the window

pid_eins,

@kyonshi thanks for the flowers but neither of those env vars are systemd inventions or concepts.

lbky,

@kyonshi In my experience it's actually the other way 'round. cron's environment can be terribly undefined or implementation defined. I've debugged things that ran fine when run manually but not at all under cron. systemd timers give you a nice way to run a service and a service has a pretty well-defined execution environment.

lbky,

@kyonshi That being said, I don't know what specifically it is you want to run, but the dbus session bus is not a systemd concept, that comes from dbus and the XDG runtime dir isn't a systemd concept either, though it does get set by the pam_systemd module on most systems.

Judging from the environment variables, you probably want to run some desktop thing. In that case you will probably want to run this in the systemd user session (via systemctl --user) and, depending on what it is, you might

kyonshi,
@kyonshi@dice.camp avatar

@lbky that's the problem, it isn't a desktop thing, so I don't know how this even shows up. anyway, I got it to run by installing some package, but now it claims it has permission issues.

so right now I just started it as a daemon and hope I don't forget it the next time I restart the machine

lbky,

@kyonshi can you share what it is?

kyonshi,
@kyonshi@dice.camp avatar

@lbky it's the eggdrop irc bot. I want to run it as a service

Theriac,
@Theriac@plasmatrap.com avatar

@kyonshi @lbky
set a chron job?

kyonshi,
@kyonshi@dice.camp avatar

@Theriac well, yeah, that's most likely what I am going to do. it's just frustrating because I already managed to get it running in systemd beforehand.

lbky,

@kyonshi Then I'm not quite sure I understand why you were asking about timers earlier, since just a service should suffice. Looking at their readme they even have a command to generate a service file

./scripts/autobotchk <Eggdrop config file> -systemd

kyonshi,
@kyonshi@dice.camp avatar

@lbky yeah, and I am following that, but it threw me an error with those when I tried to run this.

I did manage to get the service installed by installing another package, but now it still refuses to start.

I think I will just leave it for now, this was just me playing around.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • modclub
  • DreamBathrooms
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • slotface
  • rosin
  • mdbf
  • kavyap
  • tacticalgear
  • InstantRegret
  • JUstTest
  • Durango
  • cubers
  • khanakhh
  • ethstaker
  • thenastyranch
  • normalnudes
  • provamag3
  • tester
  • cisconetworking
  • Leos
  • megavids
  • anitta
  • lostlight
  • All magazines