From 27b2190ceb09b0741ec921010f8aa71e9684cae8 Mon Sep 17 00:00:00 2001 From: Filip Borum Poulsen Date: Tue, 19 Mar 2024 17:21:25 +0100 Subject: [PATCH] UPDATED install script to reload systemd service file --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index adede8f..535a204 100644 --- a/install.sh +++ b/install.sh @@ -22,7 +22,8 @@ cat smb.conf | sudo tee -a /etc/samba/smb.conf sudo systemctl restart smbd sudo cp video-player.service /etc/systemd/system/video-player.service +sudo systemctl daemon-reload sudo systemctl enable video-player.service -sudo systemctl start video-player.service +sudo systemctl restart video-player.service popd \ No newline at end of file