This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SingleChat Systemd Service Installation
|
||||
# Erstellt einen systemd Service für SingleChat
|
||||
# YpChat Systemd Service Installation
|
||||
# Erstellt einen systemd Service für YpChat
|
||||
|
||||
set -e
|
||||
|
||||
@@ -11,7 +11,7 @@ APP_DIR=$(pwd)
|
||||
USER=$(whoami)
|
||||
|
||||
echo "=========================================="
|
||||
echo "SingleChat Systemd Service Installation"
|
||||
echo "YpChat Systemd Service Installation"
|
||||
echo "=========================================="
|
||||
|
||||
# Prüfe ob als root ausgeführt
|
||||
@@ -25,7 +25,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]
|
||||
@@ -71,4 +71,3 @@ echo " Stop: sudo systemctl stop $SERVICE_NAME"
|
||||
echo " Status: sudo systemctl status $SERVICE_NAME"
|
||||
echo " Logs: sudo journalctl -u $SERVICE_NAME -f"
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user