https://github.com/kumaarbalbir/mylogservice
A custom linux service based on python script, which sets up a file system watcher to monitor changes in a specified directory and logs these changes.
https://github.com/kumaarbalbir/mylogservice
linux-service python3
Last synced: 7 months ago
JSON representation
A custom linux service based on python script, which sets up a file system watcher to monitor changes in a specified directory and logs these changes.
- Host: GitHub
- URL: https://github.com/kumaarbalbir/mylogservice
- Owner: KumaarBalbir
- Created: 2024-08-07T15:57:13.000Z (about 1 year ago)
- Default Branch: development
- Last Pushed: 2024-08-07T16:07:09.000Z (about 1 year ago)
- Last Synced: 2024-08-07T19:09:26.734Z (about 1 year ago)
- Topics: linux-service, python3
- Language: Makefile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Custom Linux Service
- A simple python based custom linux service for keep logging the information to a log file whenever there is any resource changes inside a directory.
- To install run `sudo make install` and then enable it by `sudo systemctl enable mylogservice` and then to start the service run `sudo systemctl start mylogservice`
- To uninstall run `sudo make uninstall` and to stop the servie run `sudo systemctl stop mylogservice`
- To check the status of the service, run `sudo systemctl status mylogservice`