commit a00e67f1bf90fe67735c3e2518a46528d15e280b from: Omar Polo date: Wed Mar 09 16:43:22 2022 UTC mention gmid.sysusers in contrib together with gmid.service related to github issue #14 commit - efd54f4f8a8f9af709d6da4d812899a68552de62 commit + a00e67f1bf90fe67735c3e2518a46528d15e280b blob - 050c2d127e96fac51c60d1dcacc245075bceb982 blob + c9515e7842f182d5da50b62b69fca0020cc216f1 --- site/contrib.gmi +++ site/contrib.gmi @@ -43,6 +43,7 @@ then the usual ‘rcctl [start|stop|enable|restart] gm ## systemd unit file => TREE/contrib/gmid.service contrib/gmid.service +=> TREE/contrib/gmid.sysusers contrib/gmid.sysusers A simple service file for systemd. To install it @@ -54,9 +55,11 @@ then the usual ‘systemctl [status|start|enable|stop] Some things to keep in mind: * the ExecStart path may depend on the installation -* a ‘gmid’ user needs to be create for e.g. with +* a ‘gmid’ user needs to be created with systemd-sysusers or useradd: ```how to create a dedicated user +# systemd-sysusers contrib/gmid.sysusers + or # useradd --system --no-create-home -s /bin/nologin -c "gmid Gemini server" gmid ```