This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SingleChat Systemd Service Installation für ypchat.net
|
||||
# Erstellt einen systemd Service für SingleChat
|
||||
# YpChat Systemd Service Installation für ypchat.net
|
||||
# Erstellt einen systemd Service für YpChat
|
||||
|
||||
set -e
|
||||
|
||||
@@ -12,7 +12,7 @@ USER="www-data"
|
||||
GROUP="www-data"
|
||||
|
||||
echo "=========================================="
|
||||
echo "SingleChat Systemd Service Installation"
|
||||
echo "YpChat Systemd Service Installation"
|
||||
echo "=========================================="
|
||||
|
||||
# Prüfe ob als root ausgeführt
|
||||
@@ -46,7 +46,7 @@ fi
|
||||
echo "Erstelle Service-Datei..."
|
||||
cat > "$SERVICE_FILE" << EOF
|
||||
[Unit]
|
||||
Description=SingleChat Node.js Application
|
||||
Description=YpChat Node.js Application
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
@@ -103,4 +103,3 @@ echo ""
|
||||
echo "WICHTIG: Starte den Service mit:"
|
||||
echo " sudo systemctl start $SERVICE_NAME"
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user