Created
January 7, 2019 16:24
-
-
Save erpe/caff9e77bc7d1b64eaee994db66d9299 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apache2 nutzt auf ubuntu-bionic (18.04) PrivateTmp | |
d.h. nach jedem reboot von apache2 ändert sich dieses directory | |
um das zu umgehen entweder PrivateTmp=false in apache service file oder: | |
in jeweiliger vhosts conf: | |
PassengerInstanceRegistryDir /var/run/passenger-instance | |
in .bash_profile: | |
export PASSENGER_INSTANCE_REGISTRY_DIR=/var/run/passenger-instance | |
in config/deploy.rb: (oder angepasst an die jeweilige stage) | |
set :default_env, { | |
"PASSENGER_INSTANCE_REGISTRY_DIR" => "/var/run/passenger-instance" | |
} | |
in /etc/tmpfiles.d/passenger.conf: | |
D /var/run/passenger-instance 0755 root root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment