[-] [email protected] 5 points 1 week ago

You fap to YouTube?

[-] [email protected] 2 points 1 week ago* (last edited 1 week ago)

I don't disagree with you whatsoever...
I'd however like to also mention that people like "veganteacher" need to stop equating feeding your child some steak to rape...

[-] [email protected] 19 points 1 week ago

Hits all the hallmarks of a shitpost. 👌

[-] [email protected] 7 points 1 week ago

Butter with the dog on em.

104
You thought... (lemmy.world)
submitted 1 week ago by [email protected] to c/[email protected]
[-] [email protected] 4 points 1 week ago

That really doesn't mean much.

[-] [email protected] 4 points 1 week ago* (last edited 1 week ago)

Their GitHub has everything you'd want to know.

[-] [email protected] 3 points 1 week ago

Good to hear that it worked.
To explain env, typically when systemd is running a service it only provides a very minimal environment. When using env it passes more of the environment variables and whatnot from userspace, so it's likely that the binary daemon was looking for specific environment variables and it returned an empty string and that's what caused error, it's also useful if the daemon's location changes during runtime or if it's not in a standard location.

[-] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Try ExecStart=/usr/bin/env /path/to/daemon
Also what's the output of ldd /path/to/daemon & sudo systemd-run /path/to/daemon ? Maybe check systemctl show-environment. Maybe try adding Type=simple , this tells systemd that the service will fork.

If that fails, we could try ExecStart=/usr/bin/strace -f -o /tmp/daemon_strace.log /path/to/daemon for stactrace & ExecStart=/bin/sh -c '/path/to/daemon > /tmp/daemon.log 2>&1' to log the daemon.

[-] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Is the daemon a binary? If so drop the bash part and try sudo chmod 755 /path/to/daemon.

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

I assume so, but just to be sure, have you run sudo systemctl enable blah.service then reboot? It'll symbolic link to the systemd auto start service and run it at boot.
Also, make sure everything is marked as executable; especially whatever you have "/path/to/daemon" set as. sudo chmod +x /path/to/daemon
Restart the service or reboot then :
sudo systemctl status blah.service

84
... (lemmy.world)
submitted 2 weeks ago by [email protected] to c/[email protected]
38
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
30
No Title Required (lemmy.world)
submitted 3 weeks ago by [email protected] to c/[email protected]
92
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]

~Non-Commercial Use Only~

306
Hole-In-One (lemmy.world)
submitted 3 weeks ago by [email protected] to c/[email protected]
335
submitted 3 weeks ago by [email protected] to c/[email protected]
201
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
29
submitted 1 month ago by [email protected] to c/[email protected]
104
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
22
submitted 1 month ago by [email protected] to c/[email protected]
44
Are You an NPC? (youtube.com)
submitted 1 month ago by [email protected] to c/[email protected]
view more: next ›

Rustmilian

joined 1 year ago