Manually define PATH for Arch Linux users in systemd unit
[akkoma] / installation / akkoma.service
index caddf7c4bf550ad39e43261f5db04be23622e54c..2b2e3d5688446b4924d5989236bd04449019a80b 100644 (file)
@@ -7,6 +7,9 @@ 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.