X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fakkoma.service;h=3d7c062ff27d6614c7765a3a2be16fb171d1b929;hb=48d302a60f052960adae8b99e18c3936edb39011;hp=caddf7c4bf550ad39e43261f5db04be23622e54c;hpb=c0e6f30e4d17bd69b7ddd26aa0c0f1433184128a;p=akkoma diff --git a/installation/akkoma.service b/installation/akkoma.service index caddf7c4b..3d7c062ff 100644 --- a/installation/akkoma.service +++ b/installation/akkoma.service @@ -4,14 +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" + ; 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"