e4e8866a43
luks-fs-mgr service is modified to create a pidfile which can be tracked using pmon. Pmon passive monitoring on controllers is enabled by adding a config file which tracks the pidfile and tries to restart the service if it fails. Test Plan: PASS: build-pkgs -c -p luks-fs-mgr PASS: build-image PASS: AIO-SX verify if luks.conf is present at /usr/share/starlingx/pmon.d PASS: pid file luks-fs-mgr.pid should be created at /var/run PASS: pid file should be deleted after luks-fs-mgr service is stopped. Story: 2010872 Task: 49249 Change-Id: I97ccb81c2f6fba6b7d0c1fc462d42fbce21595fa Signed-off-by: Jagatguru Prasad Mishra <jagatguruprasad.mishra@windriver.com>
16 lines
299 B
Desktop File
16 lines
299 B
Desktop File
[Unit]
|
|
Description=Create and mount encrypted vault using LUKS
|
|
After=local-fs.target network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/local/sbin/luks-fs-mgr start
|
|
PIDFile=/var/run/luks-fs-mgr.pid
|
|
User=root
|
|
Group=root
|
|
KillMode=process
|
|
SendSIGKILL=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|