= How to configure Gecko as a systemd service

== Create a gecko user

    # groupadd -r gecko
    # useradd -r -g gecko -d /opt/gecko -s /sbin/nologin gecko

== Install Gecko

    # tar xvzf gecko-x.y.z.tar.gz -C /opt
    # ln -s /opt/gecko-x.y.z /opt/gecko
    # chown -R gecko:gecko /opt/gecko
    # chown -R gecko:gecko /opt/gecko-x.y.z

== Configure systemd

	# check path in ExecStart to direct to the right GECKO_HOME/bin/gecko.sh in gecko.service
    # cp gecko.service /etc/systemd/system/
    
If you want to further customize this process you can use additional properties files. Some sample stuff is in the *ext* folder:
    # mkdir /etc/gecko
    # cp gecko.conf /etc/gecko/
    # cp launch.sh /opt/gecko/bin/
    # chmod +x /opt/gecko/bin/launch.sh

== Start and enable

    # systemd start gecko.service
    # systemd enable gecko.service
