Set Restart option as Always 73/130773/2
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Wed, 24 May 2017 02:17:58 +0000 (11:17 +0900)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 26 May 2017 12:04:06 +0000 (14:04 +0200)
Nether should be always running as it is the security module.
Even it is killed with the unexpected reason, it needs to be running again.

Change-Id: I10f515278b5862c7d3a43f5f2b7c741b06ca492b

conf/systemd/nether.service.in

index 08527e17397fa5934728167947fa2c6729523486..a3b776b9136b4854417b4c73e773d07665f527e0 100644 (file)
@@ -23,7 +23,7 @@ Description=nether service
 Type=simple
 ExecStart=${CMAKE_INSTALL_PREFIX}/bin/nether -l JOURNAL -P policy=${SYSCONF_INSTALL_DIR}/nether/cynara.policy -B ${SYSCONF_INSTALL_DIR}/nether/file.policy -r ${SYSCONF_INSTALL_DIR}/nether/nether.rules
 ExecStartPost=${SBIN_INSTALL_DIR}/ip6tables-restore ${SYSCONF_INSTALL_DIR}/nether/nether_ipv6.rules
-Restart=on-failure
+Restart=always
 ExecReload=/bin/kill -HUP $MAINPID
 User=security_fw
 Group=security_fw