Keep a daily log of what you learned, about your life, ideas, questions, topics you and you are interested. The practice of dump brain on a plain text file.
Includes:
- A daemon that reads .journal user file and return data to client.
- A tool that manage your journal file.
Dependencies to build: sqlite3
Instructions to build and install:
make
make install
Run Daemon: /usr/local/sbin/journald
Run Tool: /usr/local/bin/journal
Create file on /etc/systemd/system/journal.service
cat << EOF > /etc/systemd/system/journal.service
[Unit]
Description=Simple Daily Journaling
After=network.target
[Service]
Type=simple
User=journal
ExecStart=/usr/local/sbin/journald
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
systemctl enable journal
systemctl start journal