Add Marionnet

This commit is contained in:
Lyanis SOUIDI 2024-04-30 01:59:47 +02:00
parent b1f6b88cbf
commit 420649fa6d

View File

@ -31,7 +31,7 @@ PACKAGES_AUR=(
SERVICES=(
"systemd-networkd.service" "systemd-resolved.service" "systemd-timesyncd.service"
"fstrim.service" "docker.service" "ovs-vswitchd.service"
"fstrim.service" "docker.service" "ovs-vswitchd.service" "marionnet.service"
)
SWAP_SIZE=16G
@ -184,6 +184,25 @@ cd bibliotheque-graphique
make
make install
# Install Marionnet
cd /tmp
wget -O marionnet_from_scratch https://www.marionnet.org/site/index.php/fr/documentation/installation/from-scratch
chmod +x
PREFIX=$(marionnet --paths | awk '/share.marionnet.filesystem/ {print $3}')
PREFIX=${PREFIX%share/marionnet/filesystems}
./marionnet_from_scratch -O -p $PREFIX -s 0.90.x
# Create a service for Marionnet
echo "[Unit]
Description=Daemon for Marionnet
[Service]
ExecStart=/usr/local/sbin/marionnet-daemon.native
[Install]
WantedBy=multi-user.target
" > /etc/systemd/system/marionnet.service
# Enable the services
systemctl enable "${SERVICES[@]}"