os:linux:file_watcher_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
os:linux:file_watcher_service [2020-12-05 11:27] – Manuel Frei | os:linux:file_watcher_service [2020-12-05 11:30] (current) – Manuel Frei | ||
---|---|---|---|
Line 58: | Line 58: | ||
systemctl daemon-reload | systemctl daemon-reload | ||
systemctl start file_watcher.service | systemctl start file_watcher.service | ||
+ | </ | ||
+ | |||
+ | If you need to create some form of monitoring script/ | ||
+ | < | ||
+ | [root@server ~]# systemctl is-active file_watcher.service >/ | ||
+ | OK | ||
+ | [root@server ~]# systemctl stop file_watcher.service | ||
+ | [root@server ~]# systemctl is-active file_watcher.service >/ | ||
+ | NOK | ||
</ | </ |
os/linux/file_watcher_service.1607164041.txt.gz · Last modified: 2020-12-05 11:27 by Manuel Frei