summarylogtreecommitdiffstats
path: root/apache-flink-taskmanager@.service
blob: 4d5804d994db133bcb94009b43777e5b209d8735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Apache Flink Standalone TaskManager
After=network.target

[Service]
User=apache-flink
Group=apache-flink
Environment=FLINK_LOG_DIR=/var/log/apache-flink FLINK_PID_DIR=/run/apache-flink JAVA_HOME=/usr/lib/jvm/default-runtime FLINK_IDENT_STRING=systemd-%I
PIDFile=/run/apache-flink/flink-systemd-%I-taskmanager.pid
ExecStart=/opt/apache-flink/bin/taskmanager.sh start
Type=forking

[Install]
WantedBy=multi-user.target