简体   繁体   English

SUSE Linux 的 WildFly init.d 脚本

[英]WildFly init.d scripts for SUSE Linux

I want to start and stop WildFly 15 on Linux SUSE 11 together with the machine.我想连同机器一起在 Linux SUSE 11 上启动和停止 WildFly 15。 I'm not expert in Linux and this is my first experience with SUSE.我不是 Linux 方面的专家,这是我第一次使用 SUSE。 I found WildFly comes with init.d scripts for 2 Linux distributions: Debian and Red Hat.我发现 WildFly 带有用于 2 个 Linux 发行版的 init.d 脚本:Debian 和 Red Hat。

  • docs/contrib/scripts/init.d/wildfly-init-debian.sh docs/contrib/scripts/init.d/wildfly-init-debian.sh
  • docs/contrib/scripts/init.d/wildfly-init-redhat.sh docs/contrib/scripts/init.d/wildfly-init-redhat.sh

I found that in older versions of JBoss there was a SUSE script (jboss_init_suse.sh).我发现在旧版本的 JBoss 中有一个 SUSE 脚本 (jboss_init_suse.sh)。

Why is not there a SUSE script in newer WildFly releases?为什么较新的 WildFly 版本中没有 SUSE 脚本? Is there an easy way to create them from the other ones?有没有一种简单的方法可以从其他创建它们?

SUSE uses systemd . SUSE 使用systemd Use the scripts and in docs/contrib/scripts/systemd to get started.使用脚本和docs/contrib/scripts/systemd开始。 The README goes into details. README详细介绍。 Newer Ubuntu and Debian environments also use systemd .较新的 Ubuntu 和 Debian 环境也使用systemd

And as it has bit me multiple times - do not forget the very last line in the README - it enables it for reboot.而且因为它多次咬我 - 不要忘记自述文件中的最后一行 - 它可以重新启动它。 I tend to start Wildfly and then forget to enable the service and on the first reboot I wonder what happened.我倾向于启动 Wildfly,然后忘记启用该服务,在第一次重新启动时,我想知道发生了什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM