Re: wotaskd on systemd based Linux
Re: wotaskd on systemd based Linux
- Subject: Re: wotaskd on systemd based Linux
- From: Musall Maik <email@hidden>
- Date: Tue, 09 Aug 2016 12:35:44 +0200
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@hidden>, 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@hidden>:
>
> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden