Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 536 Bytes

systemd.md

File metadata and controls

36 lines (25 loc) · 536 Bytes

systemd

commands

  • list services
    systemctl --type=service --state=running
    

kafka

[Unit]
Description=Kafka Service
After=network.target

[Service]
User=nefro
Group=nefro
Type=simple
Environment=JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
ExecStart=/opt/kafka/kafka_2.13-2.8.0/bin/kafka-server-start.sh /opt/kafka/kafka_2.13-2.8.0/config/server.properties

[Install]
WantedBy=multi-user.target

rabbitmq

systemctl is-enabled rabbitmq-server
sudo systemctl disable rabbitmq-server