Commit graph

97 commits

Author SHA1 Message Date
AwesomeAdam54321
d78196b294 Removed subshells and changed '! test' in run scripts to 'test !' because it looks nicer to me 2021-06-26 10:59:09 +08:00
AwesomeAdam54321
7fae5c1ed3 Removed lightdm's down file 2021-06-25 18:00:24 +08:00
AwesomeAdam54321
ad391b400c removed display-manager in service directory as it is handled in the instructions 2021-06-25 14:53:52 +08:00
AwesomeAdam54321
2649eb9efa Updated instructions.txt 2021-06-24 21:23:40 +08:00
AwesomeAdam54321
c353452a7e Updated plymouth services to depend on display-manager instead of lightdm and updated other stuff 2021-06-24 20:11:12 +08:00
AwesomeAdam54321
b55c7a26ca Made all run and finish scripts executable 2021-06-24 14:35:35 +08:00
AwesomeAdam54321
5a882f8c65 Added service directory 2021-06-23 13:03:28 +08:00
AwesomeAdam54321
49c2a4f3e4 Fixed systemd-resolved issue I encountered
systemd-resolved needs access to network privileges, so it runs as a system service, it drops its permissions anyways
2021-06-23 06:47:49 +02:00
AwesomeAdam54321
1b65b16a76 Update 'instructions.txt' 2021-06-22 12:12:44 +02:00
AwesomeAdam54321
7345e94fdf Delete 'sv/LICENSE'
I moved elsewhere because it's easier, and you won't need to put a license in your future /etc/sv directory
2021-06-22 11:54:31 +02:00
AwesomeAdam54321
8143f2f42d Removed any uncertainty regarding licensing in this repository(I moved it here so it's more visible) 2021-06-22 11:52:20 +02:00
AwesomeAdam54321
6ed69e221d Update 'sv/pulseaudio-daemon/run' 2021-06-22 11:45:58 +02:00
AwesomeAdam54321
8f49ba7d5d Added wpa_supplicant 2021-06-22 11:42:26 +02:00
AwesomeAdam54321
9846a1a7aa Added usbmuxd 2021-06-22 11:40:26 +02:00
AwesomeAdam54321
bc2222a895 Added ua-messaging 2021-06-22 11:39:22 +02:00
AwesomeAdam54321
bfcc459c1b Added tlp 2021-06-22 11:37:21 +02:00
AwesomeAdam54321
4f6b4f4d31 Added systemd-user-sessions 2021-06-22 11:35:49 +02:00
AwesomeAdam54321
7083cdd569 Upload files to 'sv/systemd-udev-trigger' 2021-06-22 11:32:41 +02:00
AwesomeAdam54321
2e9cbc29ab Added systemd-udev-settle 2021-06-22 11:32:09 +02:00
AwesomeAdam54321
d826f1f727 Added systemd-udevd 2021-06-22 11:31:28 +02:00
AwesomeAdam54321
80cf86c694 Added systemd-resolved 2021-06-22 11:30:39 +02:00
AwesomeAdam54321
82f4786911 Added systemd-networkd-wait-online 2021-06-22 11:29:35 +02:00
AwesomeAdam54321
b72212ea1e Added systemd-networkd 2021-06-22 11:28:09 +02:00
AwesomeAdam54321
38692e43d9 Upload files to 'sv/systemd-logind' 2021-06-22 11:19:25 +02:00
AwesomeAdam54321
89eb3d1444 Added systemd-localed 2021-06-22 11:18:31 +02:00
AwesomeAdam54321
00db7f7005 Added systemd-hostnamed 2021-06-22 11:17:59 +02:00
AwesomeAdam54321
010171333d Added smbd 2021-06-22 11:00:45 +02:00
AwesomeAdam54321
d855264b83 Added smartmontools 2021-06-22 10:59:49 +02:00
AwesomeAdam54321
46a1740cf4 Added rtkit-daemon 2021-06-22 10:58:52 +02:00
AwesomeAdam54321
f7a8605b81 Added rsyslog 2021-06-22 10:58:08 +02:00
AwesomeAdam54321
2e23e1dece Added rsync 2021-06-22 10:51:14 +02:00
AwesomeAdam54321
a30d1171f1 Added resolvconf-pull-resolved 2021-06-22 10:12:17 +02:00
AwesomeAdam54321
f74fee1554 Added resolvconf 2021-06-22 10:08:33 +02:00
AwesomeAdam54321
4162a4c17c Added pulseaudio-daemon
NOTE: You MUST define the $USER variable in the conf file before starting this service, or else it won't start.

I opted for making a system service running as my user since it's my personal preference, but if you prefer that this be a user service
then you can refer to the runit init system website's FAQ: http://smarden.org/runit/faq.html

Instead of
exec chpst -u floyd runsvdir /home/floyd/service

(if your user is floyd)

Replace it with
exec chpst -u floyd:audio runsvdir /home/floyd/service

To run these services as your user as part of the audio group, which is neccessary for pulseaudio to access your audio device files.

If you're already part of the audio group then you can ignore what I just said above.
2021-06-22 10:00:18 +02:00
AwesomeAdam54321
114828e973 Added pppd-dns 2021-06-22 09:13:35 +02:00
AwesomeAdam54321
31ea885857 Added polkit 2021-06-22 09:12:32 +02:00
AwesomeAdam54321
70b92b9cad Added plymouth-switch-root 2021-06-22 09:08:05 +02:00
AwesomeAdam54321
90c941a14c Added plymouth-start 2021-06-22 09:07:09 +02:00
AwesomeAdam54321
390d7e4204 Added plymouth-reboot 2021-06-22 09:05:37 +02:00
AwesomeAdam54321
71caa7421b Added plymouth-read-write 2021-06-22 09:04:40 +02:00
AwesomeAdam54321
63f52ae7b5 Added plymouth-quit-wait 2021-06-22 09:02:48 +02:00
AwesomeAdam54321
427cfec476 Added plymouth-quit 2021-06-22 09:01:42 +02:00
AwesomeAdam54321
a592b2683e Added plymouth-poweroff 2021-06-22 09:00:52 +02:00
AwesomeAdam54321
90c5cdf1e6 Removed any uncertainty regarding licensing in this repository 2021-06-22 08:55:11 +02:00
AwesomeAdam54321
a0c8cae5b6 Added plymouth-kexec
Note to self: The lightdm runit service is currently disabled(by putting a down file in its service directory), even though that might not be neccessary. I should double check later if that's the case.
2021-06-22 08:24:09 +02:00
AwesomeAdam54321
53d6047957 Added plymouth-halt
Something to note is that these plymouth finish script will only continue further if the run script exited successfully(with an exit code of 0).
This is because the equivalent systemd service will only execute ExecStartPost= if the ExecStart= command finished successfully ( as per its manual at 'info systemd.service').
2021-06-22 08:19:47 +02:00
AwesomeAdam54321
41823f4c34 Added packagekit-offline-update 2021-06-20 07:33:32 +02:00
AwesomeAdam54321
673df420bd Added packagekit 2021-06-20 07:32:35 +02:00
AwesomeAdam54321
dbc1a204fb Added ondemand 2021-06-20 07:31:40 +02:00
AwesomeAdam54321
e0b5e07371 Added ntp
The script that the ntp systemd service executed is a SysVinit script that used PIDs, but due to pid-guessing it's prone to failure by design. See http://smarden.org/runit/benefits.html
The run script of this runit service was altered from that SysVinit script to run in the foreground.
SysVinit scripts are long,verbose, and complex which is a shame, because it scared people from init scripts in general.
Runit scripts are very simple, as they just alter the environment if necessary, before exec'ing into the service.
They rarely take more than a couple lines.
2021-06-20 07:29:56 +02:00