Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion systemd_units/CcspCrSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ExecStartPre=/bin/sh -c '(/usr/ccsp/ccspSysConfigEarly.sh)'
ExecStart=/bin/sh -c '/usr/bin/CcspCrSsp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo 0 >> /tmp/CcspCrSsp_Restarted'
Restart=always

SyslogIdentifier=CcspCrSsp

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions systemd_units/CcspEthAgent.service
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Environment="LOG4C_RCPATH=/etc"
EnvironmentFile=/etc/device.properties
ExecStart=/bin/sh -c '/usr/bin/CcspEthAgent -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspEthAgent" >> ${PROCESS_RESTART_LOG}'
SyslogIdentifier=CcspEthAgent
Restart=always


Expand Down
1 change: 1 addition & 0 deletions systemd_units/CcspLMLite.service
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Environment="LOG4C_RCPATH=/etc"
EnvironmentFile=/etc/device.properties
ExecStart=/bin/sh -c '/usr/bin/CcspLMLite -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspLMLite" >> ${PROCESS_RESTART_LOG}'
SyslogIdentifier=CcspLMLite
Restart=always


Expand Down
1 change: 1 addition & 0 deletions systemd_units/CcspPandMSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ExecStartPre=/bin/sh -c '(/usr/ccsp/pam/GwProvCheck.sh)'
ExecStart=/bin/sh -c '/usr/bin/CcspPandMSsp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspPandMSsp" >> ${PROCESS_RESTART_LOG}'
ExecStartPost=/bin/sh -c '(/usr/ccsp/ccspPAMCPCheck.sh)'
SyslogIdentifier=CcspPandMSsp
Restart=always
Comment on lines 33 to 37


Expand Down
2 changes: 1 addition & 1 deletion systemd_units/CcspTandDSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WorkingDirectory=/usr/ccsp/tad
ExecStart=/bin/sh -c '/usr/bin/CcspTandDSsp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspTandDSsp" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=CcspTandDSsp

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions systemd_units/CcspTr069PaSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ WorkingDirectory=/usr/ccsp/tr069pa
ExecStartPre=/bin/sh -c 'val=`syscfg get EnableTR69Binary`; if [ "$val" == "false" ]; then `systemctl stop CcspTr069PaSsp`; fi'
ExecStart=/bin/sh -c '/usr/bin/CcspTr069PaSsp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspTr069PaSsp" >> ${PROCESS_RESTART_LOG}'
SyslogIdentifier=CcspTr069PaSsp
Restart=always
SuccessExitStatus=SIGTERM

Expand Down
2 changes: 1 addition & 1 deletion systemd_units/CcspXdnsSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WorkingDirectory=/usr/ccsp/xdns
ExecStart=/bin/sh -c '/usr/bin/CcspXdnsSsp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting CcspXdnsSsp" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=CcspXdnsSsp

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/ProcessResetDetect.service
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Description=Process Restart Service
[Service]
Type=simple
ExecStart=/bin/sh -c '(/usr/ccsp/ProcessResetCheck.sh)'

SyslogIdentifier=ProcessResetDetect
2 changes: 1 addition & 1 deletion systemd_units/PsmSsp.service
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ExecStart=/bin/sh -c '/usr/bin/PsmSsp -subsys $Subsys'
ExecStartPost=/bin/sh -c '(/etc/migration_to_psm.sh)'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting PsmSsp" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=PsmSsp

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/RdkFwUpgradeManager.service
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ WorkingDirectory=/usr/rdk/fwupgrademanager
ExecStart=/usr/bin/fwupgrademanager -subsys $Subsys
ExecStop=/bin/sh -c 'echo "`date`: Stopping/Restarting RdkFwUpgradeManager"'
Restart=always

SyslogIdentifier=RdkFwUpgradeManager

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/RdkVlanManager.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WorkingDirectory=/usr/rdk/vlanmanager
ExecStart=/usr/bin/VlanManager -subsys $Subsys
ExecStop=/bin/sh -c 'echo "`date`: Stopping/Restarting VlanManager" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=RdkVlanManager

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/RdkWanManager.service
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ExecStartPre=/bin/sh -c '(/usr/ccsp/utopiaInitCheck.sh)'
ExecStart=/usr/rdk/wanmanager/wanmanager -subsys $Subsys
ExecStop=/bin/sh -c 'echo "`date`: Stopping/Restarting RdkWanManager" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=RdkWanManager

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/notifyComp.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ EnvironmentFile=/etc/device.properties
ExecStart=/bin/sh -c '/usr/bin/notify_comp -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting notify_comp" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=notifyComp

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/parodus.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ExecStartPre=/usr/bin/parodusStart
ExecStart=/bin/sh -c 'source /tmp/parodusCmd.cmd'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting parodus" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=parodus

[Install]
WantedBy=wan-initialized.target
2 changes: 1 addition & 1 deletion systemd_units/rdkbLogMonitor.service
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ExecStart=/bin/sh -c 'val=$(syscfg get RdkbLogCronEnable); if [ "$val" = "true"
ExecStop=/bin/sh -c 'echo "==> sync logs to nvram before reboot" >>/rdklogs/logs/Consolelog.txt.0'
ExecStop=/bin/sh -c 'source /rdklogger/logfiles.sh;syncLogs_nvram2 "reboot"'
RemainAfterExit=yes

SyslogIdentifier=rdkbLogMonitor

[Install]
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion systemd_units/rfc.service
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ EnvironmentFile=/etc/device.properties
ExecStart=/bin/sh -c 'echo "Enable RFC feature" >> ${PARODUS_START_LOG_FILE}'
ExecStart=/bin/sh -c '/lib/rdk/rfc.service &'
RemainAfterExit=yes

SyslogIdentifier=rfc

[Install]
WantedBy=wan-initialized.target
2 changes: 1 addition & 1 deletion systemd_units/webconfig.service
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ EnvironmentFile=/etc/device.properties
ExecStart=/usr/bin/webconfig
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting webconfig" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=webconfig

[Install]
WantedBy=wan-initialized.target
2 changes: 1 addition & 1 deletion systemd_units/webpa.service
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WorkingDirectory=/usr/ccsp/webpa
ExecStart=/bin/sh -c 'source /etc/utopia/service.d/log_env_var.sh;/usr/bin/webpa -subsys $Subsys'
ExecStopPost=/bin/sh -c 'echo "`date`: Stopping/Restarting webpa" >> ${PROCESS_RESTART_LOG}'
Restart=always

SyslogIdentifier=webpa

[Install]
WantedBy=wan-initialized.target
Loading