Got it. Put this into /lib/systemd/system/wotaskd.service
Start with: systemctl start wotaskd.service
Helpful website: https://wiki.ubuntu.com/SystemdForUpstartUsers


# systemd unit for wotaskd to run on Ubuntu 16.04 LTS
# Maik Musall <[email protected]>, Aug 2016

[Unit]
Description=WebObjects/Wonder wotaskd
Documentation=https://wiki.wocommunity.org/display/documentation/Wonder+JavaMonitor+and+wotaskd
AssertPathExists=/var/log/webobjects
AssertPathExists=/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa

[Service]
User=appserver
Group=appserveradm
Environment=NEXT_ROOT=/opt
Environment="JVM_OPTIONS=-Xms32m -Xmx64m -XX:NewSize=2m"
Environment=WOTASKD_LOG=/var/log/webobjects/wotaskd.log
ExecStart=/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd 
-WOPort 1085 -Xms32m -Xmx64m >> $WOTASKD_LOG 2>&1
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target



> Am 08.08.2016 um 15:44 schrieb Musall Maik <[email protected]>:
> 
> Hi,
> 
> did anyone already figure out the steps needed to get wotaskd configured as a 
> service in a systemd-based Linux like Ubuntu 16.04 LTS?
> 
> Thanks
> Maik
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to