Merge pull request 'Manually define PATH for Arch Linux users in systemd unit' (...
authorfloatingghost <hannah@coffee-and-dreams.uk>
Sat, 3 Dec 2022 22:24:34 +0000 (22:24 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Sat, 3 Dec 2022 22:24:34 +0000 (22:24 +0000)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/333

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.