Use Archboxctl for managing service.
This commit is contained in:
parent
7f87d53427
commit
eda8078a0f
0
archbox-desktop.bash
Executable file → Normal file
0
archbox-desktop.bash
Executable file → Normal file
0
archbox.bash
Executable file → Normal file
0
archbox.bash
Executable file → Normal file
0
archboxcommand.bash
Executable file → Normal file
0
archboxcommand.bash
Executable file → Normal file
0
archboxinit.bash
Executable file → Normal file
0
archboxinit.bash
Executable file → Normal file
11
chroot_setup.bash
Executable file → Normal file
11
chroot_setup.bash
Executable file → Normal file
@ -15,13 +15,10 @@ pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
msg "Installing essential packages..."
|
||||
pacman -Syu base base-devel xorg pulseaudio nano --noconfirm
|
||||
msg "Installing servicectl..."
|
||||
mkdir -p /usr/local/share/servicectl/enabled
|
||||
curl -L 'https://raw.githubusercontent.com/lemniskett/servicectl/master/servicectl' > /usr/local/share/servicectl/servicectl 2>/dev/null
|
||||
curl -L 'https://raw.githubusercontent.com/lemniskett/servicectl/master/serviced' > /usr/local/share/servicectl/serviced 2>/dev/null
|
||||
chmod +x /usr/local/share/servicectl/service{d,ctl}
|
||||
ln -s /usr/local/share/servicectl/servicectl /usr/local/bin/servicectl
|
||||
ln -s /usr/local/share/servicectl/serviced /usr/local/bin/serviced
|
||||
msg "Installing archboxctl..."
|
||||
mkdir -p /usr/local/bin
|
||||
curl https://raw.githubusercontent.com/lemniskett/archboxctl/master/archboxctl.bash > /usr/local/bin/archboxctl
|
||||
chmod 755 /usr/local/bin/archboxctl
|
||||
msg "Setting up locale..."
|
||||
echo "Uncomment needed locale, enter to continue"
|
||||
read
|
||||
|
0
copyresolv.bash
Executable file → Normal file
0
copyresolv.bash
Executable file → Normal file
1
install.sh
Executable file → Normal file
1
install.sh
Executable file → Normal file
@ -8,6 +8,7 @@ install -v -D -m 755 ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv
|
||||
install -v -D -m 755 ./archboxcommand.bash /usr/local/share/archbox/bin/archbox
|
||||
install -v -D -m 755 ./remount_run.bash /usr/local/share/archbox/bin/remount_run
|
||||
install -v -D -m 755 ./chroot_setup.bash /usr/local/share/archbox/chroot_setup.bash
|
||||
install -v -D -m 755 ./archboxctl.bash /usr/local/share/archbox/archboxctl.bash
|
||||
install -v -D -m 755 ./archboxinit.bash /usr/local/share/archbox/bin/archboxinit
|
||||
[[ -z $1 ]] && exit 0
|
||||
|
||||
|
0
remount_run.bash
Executable file → Normal file
0
remount_run.bash
Executable file → Normal file
Loading…
Reference in New Issue
Block a user