This website requires JavaScript.
Explore
Help
Register
Sign In
tursom
/
memgraph
Watch
1
Star
0
Fork
0
You've already forked memgraph
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
560eb04f67
memgraph
/
release
/
logrotate_community.conf
3 lines
83 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Put all logrotate config to a file per offering (#23) Not having one logrotate file produced an error during rpmlint. It makes sense to have one logrotate file after Memgraph is installed because it's easier to manage config files. There are two logrotate files in the codebase, one for Community and one for Enterprise edition. Having rotate files per offering also makes sense because offerings are affected less often compared to the features. It's easier to maintain.
2020-10-18 02:08:03 +08:00
# logrotate configuration for Memgraph Community
Add maintainer scripts for DEB package Summary: Add postinst script for DEB package The script creates a 'memgraph' group and sets permission on installed '/var/*/memgraph' directories. Only the group is created, while 'memgraph' user is not. It seems more sane only to require group membership for using memgraph. Add conffiles for DEB package This allows for `dpkg` to detect changes in configuration files and present them to the user. Therefore, we don't need to care whether the configuration merges are handled correctly nor if we accidentally overwrite them. Add postrm script for DEB packaging The script is only used so that `dpkg --purge` removes '/var/*/memgraph' directories, even if they contain something. Add email, longer description and license file to DEB packaging, as well as a systemd service. Provide a logrotate configuration and support it in memgraph. Use DEB package for Docker installation This way, the whole installation process and testing should go through DEB. Generate release archives in Apollo with standard names Reviewers: buda, mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D989
2017-11-22 23:40:39 +08:00
# see "man logrotate" for details
Reference in New Issue
Copy Permalink