1
0
mirror of https://github.com/BELABOX/belaUI.git synced 2026-07-04 14:46:41 +00:00

Add an install script for the systemd service

This commit is contained in:
rationalsa
2021-02-25 21:59:12 +00:00
parent bf0cb3b601
commit c8d66e8832
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
sed "s#WorkingDirectory=.*#WorkingDirectory=$(pwd)#g" belaUI.service > /etc/systemd/system/belaUI.service &&
systemctl daemon-reload &&
systemctl restart belaUI &&
systemctl enable belaUI