Skip to content

Instantly share code, notes, and snippets.

@khahantk
Last active October 14, 2018 08:44
Show Gist options
  • Select an option

  • Save khahantk/39344e792abc0e0011e357e9c7bb47fd to your computer and use it in GitHub Desktop.

Select an option

Save khahantk/39344e792abc0e0011e357e9c7bb47fd to your computer and use it in GitHub Desktop.
Systemd AEM - Adobe Experience Manager (/etc/systemd/system/aemauthor.service)
[Unit]
Description=AEM Author Instance
After=network.target
[Service]
Type=simple
User=ubuntu
ExecStart=/opt/adobe/AEM/author/crx-quickstart/bin/start
ExecStop=/opt/adobe/AEM/author/crx-quickstart/bin/stop
PIDFile=/var/run/author.pid
RestartSec=30
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=author
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
[Unit]
Description=AEM Publish Instance
After=network.target
[Service]
Type=simple
User=ubuntu
ExecStart=/opt/adobe/AEM/publish/crx-quickstart/bin/start
ExecStop=/opt/adobe/AEM/publish/crx-quickstart/bin/stop
PIDFile=/var/run/aempublish.pid
RestartSec=30
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=aempublish
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
@khahantk
Copy link
Copy Markdown
Author

khahantk commented Oct 14, 2018

  • Copy 2 files to /etc/systemd/system/
  • Run services:
sudo systemctl enable aemauthor
sudo systemctl enable aempublish
sudo systemctl start aemauthor
sudo systemctl start aempublish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment