]>
apps.delaporte.us Git - matrix-cadbury.git/blob - service/install.sh
1 # Installs at system level for autostart
3 # Pass the path to an appropriate .env as $1
5 cp $1 /etc
/matrix
-cadbury/.env
6 cd /etc
; git clone https
://codeberg.org
/EdTheDev
/matrix
-cadbury.git
8 ADD_SRV
=cadbury.service
9 DEST
=/etc
/systemd
/system
13 cp ..
/files
/autostart
/$ADD_SRV $DEST/
14 ls -al $DEST | grep $ADD_SRV
16 systemctl daemon
-reload
17 systemctl
enable $ADD_SRV
18 systemctl status
$ADD_SRV