X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fakkoma.service;h=012e9185e34f197f36cf251cb6f69ca99e3d4f38;hb=ba59fdcd54986b0ebc31a577cb1c767e55a43e7f;hp=2b2e3d5688446b4924d5989236bd04449019a80b;hpb=04b5c711be549e3976c75f16109350224c3ffc2f;p=akkoma diff --git a/installation/akkoma.service b/installation/akkoma.service index 2b2e3d568..012e9185e 100644 --- a/installation/akkoma.service +++ b/installation/akkoma.service @@ -4,17 +4,19 @@ After=network.target postgresql.service [Service] ExecReload=/bin/kill $MAINPID -KillMode=process Restart=on-failure ; Uncomment this if you're on Arch Linux -; Evironment="PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" +; Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" ; Name of the user that runs the Akkoma service. User=akkoma ; Declares that Akkoma runs in production mode. Environment="MIX_ENV=prod" +; Don't listen epmd on 0.0.0.0 +Environment="ERL_EPMD_ADDRESS=127.0.0.1" + ; Make sure that all paths fit your installation. ; Path to the home directory of the user running the Akkoma service. Environment="HOME=/var/lib/akkoma"