Rundeck on openSUSE Leap

Yum RPM install is not supported on openSUSE and, if you want to use Rundeck on a openSUSE/SLES server, you must use the self contained launcher (.war).

Issuing the java command (even if you’re just testing it) it’s a bit annoying for me so I opted for an handy systemd service to manage Rundeck.

[Unit]
Description=Rundeck

[Service]
WorkingDirectory=/home/thinkhel/lab/rundeck
ExecStart=/usr/bin/java \
         -Xmx2g \
         -jar rundeck-systemd.war
Type=simple
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target

The -Xmx2g is used to set the maximum heap size.