diff --git a/inotify/nginx-change-monitor.service b/inotify/nginx-change-monitor.service new file mode 100644 index 0000000..98fc573 --- /dev/null +++ b/inotify/nginx-change-monitor.service @@ -0,0 +1,12 @@ +[Unit] +Description=Nginx Change Monitor +After=network.target + +[Service] +ExecStart=/opt/nginx_change_monitor.sh +Restart=always +User=root +Group=root + +[Install] +WantedBy=multi-user.target \ No newline at end of file