17 lines
361 B
Desktop File
17 lines
361 B
Desktop File
[Unit]
|
|
Description=Apache HiveServer2
|
|
After=hive-metastore.service
|
|
Requires=hive-metastore.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=czk
|
|
Environment=HIVE_HOME=/opt/hive
|
|
Environment=HADOOP_HOME=/opt/hadoop
|
|
Environment=JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
|
|
ExecStart=/opt/hive/bin/hiveserver2
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |