Manually define PATH for Arch Linux users in systemd unit
authorr3g_5z <june@girlboss.ceo>
Sat, 3 Dec 2022 19:17:54 +0000 (14:17 -0500)
committerr3g_5z <june@girlboss.ceo>
Sat, 3 Dec 2022 19:17:54 +0000 (14:17 -0500)
Signed-off-by: r3g_5z <june@girlboss.ceo>
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.