Rename 'Local Service' monitor to 'System Service'
This commit is contained in:
parent
0f951ef123
commit
6940241543
@ -4,7 +4,7 @@
|
||||
*/
|
||||
exports.up = async (knex) => {
|
||||
await knex.schema.alterTable("monitor", (table) => {
|
||||
table.string("local_service_name");
|
||||
table.string("system_service_name");
|
||||
});
|
||||
};
|
||||
|
||||
@ -14,6 +14,6 @@ exports.up = async (knex) => {
|
||||
*/
|
||||
exports.down = async (knex) => {
|
||||
await knex.schema.alterTable("monitor", (table) => {
|
||||
table.dropColumn("local_service_name");
|
||||
table.dropColumn("system_service_name");
|
||||
});
|
||||
};
|
||||
|
||||
@ -900,7 +900,7 @@ let needSetup = false;
|
||||
bean.rabbitmqPassword = monitor.rabbitmqPassword;
|
||||
bean.conditions = JSON.stringify(monitor.conditions);
|
||||
bean.manual_status = monitor.manual_status;
|
||||
bean.local_service_name = monitor.local_service_name;
|
||||
bean.system_service_name = monitor.system_service_name;
|
||||
|
||||
// ping advanced options
|
||||
bean.ping_numeric = monitor.ping_numeric;
|
||||
|
||||
@ -668,7 +668,7 @@
|
||||
<template v-if="monitor.type === 'system-service'">
|
||||
<div class="my-3">
|
||||
<label for="system-service-name" class="form-label">{{ $t("Service Name") }}</label>
|
||||
<input id="system-service-name" v-model="monitor.system_service_name" type="text" class="form-control" required placeholder="nginx.service">
|
||||
<input id="system-service-name" v-model="monitor.system_service_name" type="text" class="form-control" required placeholder="nginx">
|
||||
<div class="form-text">
|
||||
{{ $t("systemServiceDescription") }}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user