- shell_info(
- "The file generated: #{env_path}.\nTo use the enviroment file need to add the line ';EnvironmentFile=#{
- env_path
- }' in service file (/installation/pleroma.service)."
- )
+ _ ->
+ shell_info("\nThe file generated: #{env_path}.\n")
+
+ shell_info("""
+ WARNING: before start pleroma app please make sure to make the file read-only and non-modifiable.
+ Example:
+ chmod 0444 #{file_path}
+ chattr +i #{file_path}
+ """)
+ end
+ else
+ shell_info("\nThe file is exist. #{env_path}.\n")