Skip to main content
Topic: Possible error in wiki (?) (Read 423 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Possible error in wiki (?)

I was reading wiki about creating local s6-services (link) and one block of code bothered me. It's this one
Code: [Select]
mkdir -p /etc/s6/adminsv/local-s6-rc-user/dependencies.d
touch /etc/s6/adminsv/local-s6-rc-user/mount-filesystems
touch /etc/s6/adminsv/local-s6-rc-user/local-s6-user
echo "oneshot" > /etc/s6/adminsv/local-s6-rc-user/type
Shouldn't it be like this:
Code: [Select]
mkdir -p /etc/s6/adminsv/local-s6-rc-user/dependencies.d
touch /etc/s6/adminsv/local-s6-rc-user/dependencies.d/mount-filesystems
touch /etc/s6/adminsv/local-s6-rc-user/dependencies.d/local-s6-user
echo "oneshot" > /etc/s6/adminsv/local-s6-rc-user/type
?
Earlier ‘mount-filesystems’ was in dependencies.d directory

 

Re: Possible error in wiki (?)

Reply #1
Yup that's an error and you're correct. Just fixed it.