-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Israel,

On 11/6/18 12:27 PM, Israel Timoteo wrote:
> How do you make Tomcat start automatically after your Mac
> restarts?

I don't :)

I think the best way is to use the Launch Deamon facility of macos.
Briefly, as root:

1. Create a file
/Library/LaunchDaemons/org.apache.tomcat.startup.plist with all the
appropriate settings
2. run "launchctl load -w
/Library/LaunchDaemons/org.apache.tomcat.startup.plist"

To remove the load-on-start:

3. run "launchctl unload -w
/Library/LaunchDaemons/org.apache.tomcat.startup.plist"

- -chris

>> On Nov 6, 2018, at 9:05 AM, Christopher Schultz
>> <ch...@christopherschultz.net> wrote:
>> 
> All,
> 
> Periodically, some folks ask how to get Tomcat running on MacOS.
> In order to fully-test the most recent version of Tomcat 8.5.x
> being voted on, I built a new environment on my Mac from scratch
> and documented everything.
> 
> I put all of my notes into the Tomcat Wiki which can be found
> here: 
> https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS
> 
> Comments and modifications are welcome. It would be even better if 
> some folks with Macs who aren't running Tomcat would actually try 
> following the instructions and let me know if anything in
> particular doesn't work for you.
> 
> -chris
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvh0UIACgkQHPApP6U8
pFjTRQ/8DgJdZyVYYuv4X+uHJSDCmUDCCH8kJo/4UO5IguPIVuzzba4oXKrxXwMU
M2B5YwWFF54EooH0DZ4VK3WwJtSoiK5Mcg+VP1onqhia2EzacG+nVcJPQJoRkB2A
2TqZKz+rexEuEuB61eDKSr6XKt+O1PdYjaBxHoQ8cnHpNBwnQVBaQNH8Yd+SCnm+
VDtBn5zkFe346j9YByB43w8ZGtakWqDQEj/9SFtbIlECPNKaNR1H2Xod/phnED4o
xFM/SvMcf9TW5g0E2BcgffzLUd6dYDrSsfSlOK823W6tf42MfeGgpE4nNQBkoEcy
FgGFaVXd2+6eH7yXuLSVjBxKPcgeZNSVxt+3TbfKTnSZ/eqEMd47X0DaWUV38fKd
VEaqd6HeTpk4cAVU/PM/p0D8HEjfsUnETnRcGj5J2rWbf72BmxhsAuKJj7o9TTYF
dmH6BgfaZaVhcO+SnAEWcOSMN6lfKE0YDXX6tKFBwyLI92q1T/v6qkablLCd9f+B
BBGMSTE/DLlvNtSHSXoodi3NfTGL0MXnvVUQQAVc6D9T4hXrRp6F3vGODXH1Jdjz
0lM8JPQGK/VThq+dUslHfpETB0hWy/MbsDHSFQxEWqFFKwpswRvQEbnL6agL5A01
o7jOBiLO3zVLYLWqEWb7Vmzpr9KjNaHemY/8vX5DyqnxMGK6Ppw=
=S1VM
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to