chmod 666

336 points · 22 comments · view on lemmy.world

22 Comments

optissima@lemmy.ml · 37 pts · 318d (2 replies)

Idk if titles can be updated but consider chmod 666

muhyb@programming.dev · 19 pts · 317d

Yup, it can be edited. This is not Reddit. :)

nutbutter@discuss.tchncs.de · 7 pts · 317d

Done. Thanks!

Ging@anarchist.nexus · 28 pts · 318d (4 replies)

You... You wouldn't actually do this, would you?

mittorn@masturbated.one · 30 pts · 318d (3 replies)

@Ging @nutbutter it's freedom of init system choice!

Ging@anarchist.nexus · 13 pts · 317d (2 replies)

You're not wrong, but ...jesus what is that homeserver? I'm gonna go clean the coffee off my monitor now

mittorn@masturbated.one · 5 pts · 317d (1 reply)

@Ging this was reference to one funny musks post about mastodon few years ago (post was deleted later)
Also, mascot is green elephant reference:
https://en.wikipedia.org/wiki/The/_Green/_Elephant

Ging@anarchist.nexus · 5 pts · 317d

After further review, I respect this greatly :D

BeardedGingerWonder@feddit.uk · 26 pts · 317d (5 replies)

Ooh do snap next

Ascend910@lemmy.ml · 7 pts · 317d (3 replies)

And then apt?

BeardedGingerWonder@feddit.uk · 17 pts · 317d (2 replies)

There was a mote of an idea floating about a few months back you've reminded me of. Basically distrohopping the hard way - start with one distro and install/remove packages until you've gotten to another one.

jack@sh.itjust.works · 14 pts · 317d (1 reply)

Theseus OS

Ascend910@lemmy.ml · 4 pts · 317d

Starting from lfs?

caseyweederman@lemmy.ca · 3 pts · 317d

Oh that's nasty. Yeah, do it!

three@lemmy.zip · 18 pts · 318d

No idea what you're taking about, but I'll always upvote this picture.

dukatos@lemmy.zip · 11 pts · 317d

Installing Arch with extra steps

Gonzako@lemmy.world · 5 pts · 317d (3 replies)

How does one actually use systemd? I tried making a script to trigger every time I boot up but it didn't work out for me

e8d79@discuss.tchncs.de · 7 pts · 317d (1 reply)

This should work. Add a file /home/username/.config/systemd/user/my_cool_service.service with this content:

[Unit]
Description=My cool service

[Service]
Type=oneshot
ExecStart=/home/username/my_cool_script.sh

[Install]
WantedBy=default.target

Now add the script /home/username/my_cool_script.sh.

#!/bin/bash
echo "Hello from my cool script."

Enable and run the service.

$ chmod +x /home/username/my_cool_script.sh
$ systemctl --user daemon-reload
$ systemctl --user enable my_cool_service.service
# Optional:
$ systemctl --user start my_cool_service.service 
$ journalctl -e --user-unit=my_cool_service # You should see the echoed string from the script.

The service should now run every time the user username logs in.

Gonzako@lemmy.world · 2 pts · 317d

Oh, thanks! My distro has a package that has a bunch of visual configurations that reset on boot and I wanted to do my configs on top

jim3692@discuss.online · 5 pts · 317d

Did you set the WantedBy field?

Did you systemctl enable the service?

sepi@piefed.social · 4 pts · 318d

go get em, tiger

davidagain@lemmy.world · 3 pts · 317d

chmod 640 for the win.