Как узнать, какой процесс поддерживает LVM раздел от размонтирования *во время выключения*?

Cualquier tutorial reciente sobre systemd le brindará los conceptos básicos sobre la ejecución de servicios con systemd.

# cat /etc/systemd/system/foo.service 
[Unit]
Description=myservice

[Service]
ExecStart=/path/to/myservice/executable

[Install]
WantedBy=multi-user.target

Entonces actívalo:

systemctl daemon-reload
systemctl enable myservice
# Start / Stop
systemctl start myservice
systemctl stop myservice
0
30.05.2019, 12:00
1 ответ

Попробуйте включить отладку с помощью следующих параметров.

-d|--debug : Set  debug  level.  Repeat  from  1  to 6 times to increase the detail of messages sent to the log file and/or syslog (if configured).  Overrides config file setting.
-v|--verbose : Set verbose level. Repeat from 1 to 3 times to increase the detail  of  messages  sent  to  stdout  and stderr.  Overrides config file setting.
0
28.01.2020, 03:39

Теги

Похожие вопросы